summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-30 19:49:57 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-30 19:49:57 +0000
commit9c0c26a552ab3e66a6595d033988906eb8576e6e (patch)
treec68888dde66883cc97bb9b2c19b0e9cf1133eb9d /src/map/pc.c
parent327439273a8addb07b4e05908ba5e931b2f679ea (diff)
downloadhercules-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.c5
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)