summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-30 21:04:17 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-30 21:04:17 +0000
commit994cf9b5501a4ac46d608147d349e3f91120a350 (patch)
tree9f42b68b3c64f6287d7afaa648847d706538631f /src/map/status.c
parent3309104cd813327b3a060b0549fb8f720ba91481 (diff)
downloadhercules-994cf9b5501a4ac46d608147d349e3f91120a350.tar.gz
hercules-994cf9b5501a4ac46d608147d349e3f91120a350.tar.bz2
hercules-994cf9b5501a4ac46d608147d349e3f91120a350.tar.xz
hercules-994cf9b5501a4ac46d608147d349e3f91120a350.zip
- Added a missing "return 0" that fixes a crash on failed lookups on status_change_timer
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5818 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 9c7cfdaa0..171370b0c 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -5204,6 +5204,7 @@ int status_change_timer(int tid, unsigned int tick, int id, int data)
if (!sc)
{ //Temporal debug until case is resolved. [Skotlex]
ShowDebug("status_change_timer: Null pointer id: %d data: %d bl-type: %d\n", id, data, bl?bl->type:-1);
+ return 0;
}
if(bl->type==BL_PC)