summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-04 09:33:24 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-04 09:33:24 +0000
commit41d79204a9a27ca396b0e9f158b19860aa878f9a (patch)
treead5c7d3f9d2677b78acd9f25a2c4675a6f61f93d /src/map/status.c
parent58a49148ed8667e49214d4814fe771e7cceec427 (diff)
downloadhercules-41d79204a9a27ca396b0e9f158b19860aa878f9a.tar.gz
hercules-41d79204a9a27ca396b0e9f158b19860aa878f9a.tar.bz2
hercules-41d79204a9a27ca396b0e9f158b19860aa878f9a.tar.xz
hercules-41d79204a9a27ca396b0e9f158b19860aa878f9a.zip
- Fixed Music Lesson's effect on Assassin Cross of Sunset.
- Fixed a possible crash in status_change_timer when debug mode is disabled. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12006 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 85c17215d..c4cca766a 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -6662,7 +6662,7 @@ int status_change_timer(int tid, unsigned int tick, int id, int data)
struct status_change_entry *sce;
bl = map_id2bl(id);
- sc = status_get_sc(bl);
+ sc = bl?status_get_sc(bl):NULL;
status = status_get_status_data(bl);
if(!(bl && sc && (sce = sc->data[type])))