summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 65f9e0cd4..00dc50c74 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -4300,7 +4300,10 @@ int status_change_timer(int tid, unsigned int tick, int id, int data)
// security system to prevent forgetting timer removal
int temp_timerid;
- nullpo_retr_f(0, bl=map_id2bl(id), "id=%d data=%d",id,data);
+ bl=map_id2bl(id);
+#ifndef _WIN32
+ nullpo_retr_f(0, bl, "id=%d data=%d",id,data);
+#endif
nullpo_retr(0, sc_data=status_get_sc_data(bl));
if(bl->type==BL_PC)