diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-30 19:49:57 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-30 19:49:57 +0000 |
commit | 9c0c26a552ab3e66a6595d033988906eb8576e6e (patch) | |
tree | c68888dde66883cc97bb9b2c19b0e9cf1133eb9d /src/map/pc.c | |
parent | 327439273a8addb07b4e05908ba5e931b2f679ea (diff) | |
download | hercules-9c0c26a552ab3e66a6595d033988906eb8576e6e.tar.gz hercules-9c0c26a552ab3e66a6595d033988906eb8576e6e.tar.bz2 hercules-9c0c26a552ab3e66a6595d033988906eb8576e6e.tar.xz hercules-9c0c26a552ab3e66a6595d033988906eb8576e6e.zip |
Made the map-server build cleanly using Microsoft Visual Studio [MouseJstr]
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1345 54d463be-8e91-2dee-dedb-b68131a5f0ec
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) |