diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-01-14 21:00:38 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-01-14 21:00:38 +0000 |
commit | 457cff865b0aa35bef85d8440ddf67c95158aa8b (patch) | |
tree | 81952176fc30d931365b22473b30a84db65fe706 /src/map/chrif.c | |
parent | 3be161f802c28ddf802862b2c2835061ab45601b (diff) | |
download | hercules-457cff865b0aa35bef85d8440ddf67c95158aa8b.tar.gz hercules-457cff865b0aa35bef85d8440ddf67c95158aa8b.tar.bz2 hercules-457cff865b0aa35bef85d8440ddf67c95158aa8b.tar.xz hercules-457cff865b0aa35bef85d8440ddf67c95158aa8b.zip |
* Replaced remaining occurences of '-1' with 'INVALID_TIMER', where appropriate (follow up to r12998).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14670 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r-- | src/map/chrif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c index 135c464c4..c4eeea3d9 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -1143,7 +1143,7 @@ int chrif_save_scdata(struct map_session_data *sd) { if (!sc->data[i]) continue; - if (sc->data[i]->timer != -1) + if (sc->data[i]->timer != INVALID_TIMER) { timer = get_timer(sc->data[i]->timer); if (timer == NULL || timer->func != status_change_timer || DIFF_TICK(timer->tick,tick) < 0) |