summaryrefslogtreecommitdiff
path: root/src/map/status.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/status.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/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)