From 234baaab74a89d8b99f421130c7bb263e6f3832d Mon Sep 17 00:00:00 2001 From: shennetsind Date: Mon, 23 Apr 2012 12:07:59 +0000 Subject: 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 --- src/map/status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3-70-g09d2