diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-23 12:07:59 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-23 12:07:59 +0000 |
commit | 234baaab74a89d8b99f421130c7bb263e6f3832d (patch) | |
tree | 2f7ccd36a84e760ee9f7b50dfc38947fac3afc1e /src/map | |
parent | 2df8fa5ee4a0762dd41e04d7a6ecf1f29c008935 (diff) | |
download | hercules-234baaab74a89d8b99f421130c7bb263e6f3832d.tar.gz hercules-234baaab74a89d8b99f421130c7bb263e6f3832d.tar.bz2 hercules-234baaab74a89d8b99f421130c7bb263e6f3832d.tar.xz hercules-234baaab74a89d8b99f421130c7bb263e6f3832d.zip |
Follow up r15936 Fixed crash when sc_increaseagi would be cast on non-players.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15944 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index 11d12dd16..ebb305fc0 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -5939,7 +5939,7 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val return 0; case SC_INCREASEAGI: - if(pc_issit(sd)){ + if(sd && pc_issit(sd)){ pc_setstand(sd); clif_status_load(&sd->bl,SI_SIT,0); } |