summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/status.c2
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);
}