diff options
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/clif.c | 3 | ||||
-rw-r--r-- | src/map/map.h | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 3ee08824c..d176a9415 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -12043,7 +12043,8 @@ int do_init_clif(void) packetdb_readdb(); set_defaultparse(clif_parse); - if (!make_listen_bind(bind_ip,map_port)) { + if( make_listen_bind(bind_ip,map_port) == -1 ) + { ShowFatalError("can't bind game port\n"); exit(EXIT_FAILURE); } diff --git a/src/map/map.h b/src/map/map.h index 3ee4e0c7d..ecdc72c4f 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -374,10 +374,10 @@ struct status_change_entry { }; struct status_change { - unsigned int option;// effect state - unsigned int opt3;// skill state + unsigned int option;// effect state (bitfield) + unsigned int opt3;// skill state (bitfield) unsigned short opt1;// body state - unsigned short opt2;// health state + unsigned short opt2;// health state (bitfield) unsigned char count; //TODO: See if it is possible to implement the following SC's without requiring extra parameters while the SC is inactive. unsigned char jb_flag; //Joint Beat type flag |