summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt3
-rw-r--r--src/map/status.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 4f356bedb..e6410a1bb 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -3,6 +3,9 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
+2007/04/05
+ * Corrected song/dances/encores reducing SP at the incorrect intervals
+ (either never, or every second).
2007/04/04
* Corrected Longing for Freedom, it should triple SP cost rather than
modifying SP cost to 1/sec
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))