diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-04 13:46:18 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-04 13:46:18 +0000 |
commit | 27a5d42f229472e711944c19dc8cf62acc32361b (patch) | |
tree | 18d23f583a6f4e3c27cb64bfa10170f6df7e3e89 /src/map/status.c | |
parent | 4a218362a21ba01c5d7d3c027cfa29e10c91ec4c (diff) | |
download | hercules-27a5d42f229472e711944c19dc8cf62acc32361b.tar.gz hercules-27a5d42f229472e711944c19dc8cf62acc32361b.tar.bz2 hercules-27a5d42f229472e711944c19dc8cf62acc32361b.tar.xz hercules-27a5d42f229472e711944c19dc8cf62acc32361b.zip |
- Corrected song/dances/encores reducing SP at the incorrect intervals (either never, or every second)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10152 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index ece5fef5f..2b7dc2e09 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -6752,7 +6752,7 @@ int status_change_timer(int tid, unsigned int tick, int id, int data) s=10; break; } - if (s && ((sc->data[type].val3 % s) == 0)) { + if (s && (counter%s == 0)) { if (sc->data[SC_LONGING].timer != -1) sp*= 3; if (!status_charge(bl, 0, sp)) |