diff options
author | shennetsind <ind@henn.et> | 2013-12-09 20:28:19 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-12-09 20:28:19 -0200 |
commit | b4136dd3d4779d80df18f84929c576c8080cd7b8 (patch) | |
tree | d38885e73698210ea2411093db594f8f2ebd42ea /src/map/clif.c | |
parent | 4727cc95528be094cd2c1c3fbb3c92b7873c809b (diff) | |
download | hercules-b4136dd3d4779d80df18f84929c576c8080cd7b8.tar.gz hercules-b4136dd3d4779d80df18f84929c576c8080cd7b8.tar.bz2 hercules-b4136dd3d4779d80df18f84929c576c8080cd7b8.tar.xz hercules-b4136dd3d4779d80df18f84929c576c8080cd7b8.zip |
Fixed some logic errors
Special Thanks to Haru
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 4e10e2eea..41ba732fe 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -11088,8 +11088,10 @@ void clif_parse_RemoveOption(int fd,struct map_session_data *sd) void clif_parse_ChangeCart(int fd,struct map_session_data *sd) {// TODO: State tracking? int type; + + nullpo_retv(sd); - if( sd && pc->checkskill(sd, MC_CHANGECART) < 1 ) + if( pc->checkskill(sd, MC_CHANGECART) < 1 ) return; #ifdef RENEWAL |