summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/battle.h6
2 files changed, 5 insertions, 3 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index ceeae54e9..6d9881fe4 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -3,6 +3,8 @@ 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.
+2006/08/18
+ * Fixed signed/unsigned comparison issues with natural heal system [Toms]
2006/08/17
* Vaporize will no fail when the homun is dead. [Skotlex]
* Corrected thhe double free issue that occurs when a homun dies and has no
diff --git a/src/map/battle.h b/src/map/battle.h
index 355295841..3c1a9fe2d 100644
--- a/src/map/battle.h
+++ b/src/map/battle.h
@@ -196,9 +196,9 @@ extern struct Battle_Config {
unsigned short wedding_modifydisplay;
unsigned short wedding_ignorepalette; //[Skotlex]
unsigned short xmas_ignorepalette; // [Valaris]
- int natural_healhp_interval;
- int natural_healsp_interval;
- int natural_heal_skill_interval;
+ unsigned int natural_healhp_interval;
+ unsigned int natural_healsp_interval;
+ unsigned int natural_heal_skill_interval;
unsigned short natural_heal_weight_rate;
unsigned short item_name_override_grffile;
unsigned short indoors_override_grffile; // [Celest]