Fixed incorrect argument description for get/set_proto_data in sfall opcode list.txt.

Removed incorrect PROTO_CR_FLAGS value in define_extra.h (was actually critter's IN), and renamed PROTO_CR_ACTION_FLAGS to its correct name #112
This commit is contained in:
NovaRain
2017-08-21 11:33:04 +08:00
parent 85cdd8973e
commit ad17773ace
2 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -186,11 +186,10 @@
#define PROTO_DR_ADDICT_DELAY (100)
// critters
#define PROTO_CR_ACTION_FLAGS (32)
#define PROTO_CR_FLAGS (32)
#define PROTO_CR_HEAD_FID (40)
#define PROTO_CR_AI_PACKET (44)
#define PROTO_CR_TEAM_NUM (48)
#define PROTO_CR_FLAGS (52)
#define PROTO_CR_BODY_TYPE (388)
#define PROTO_CR_KILL_EXP (392)
#define PROTO_CR_KILL_TYPE (396)
+2 -2
View File
@@ -257,8 +257,8 @@
0x8202 - void fs_seek(int id, int pos)
0x8203 - void fs_resize(int id, int size)
0x8204 - int get_proto_data(object, int offset)
0x8205 - void set_proto_data(object, int offset, int value)
0x8204 - int get_proto_data(int pid, int offset)
0x8205 - void set_proto_data(int pid, int offset, int value)
0x8206 - void set_self(object)
0x8207 - void register_hook(int hook)