diff options
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index b9185c8b8..e82a5d246 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -3236,7 +3236,10 @@ static int pc_walk(int tid,unsigned int tick,int id,int data) int moveblock; int x,y,dx,dy; - nullpo_retr_f(0, (sd=map_id2sd(id)), "id=%d", id); + sd=map_id2sd(id); +#ifndef _WIN32 + nullpo_retr_f(0, sd, "id=%d", id); +#endif if(sd->walktimer != tid){ if(battle_config.error_log) |