summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-18 09:18:38 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-18 09:18:38 +0000
commiteb5b93986c7ade4100da3d1bcaf07c9f2b7824e4 (patch)
treebf517b0b08ced1839812604dc24335885ec12822
parent9f8f222a8dc995e03cb51ac827e790c5926b312d (diff)
downloadhercules-eb5b93986c7ade4100da3d1bcaf07c9f2b7824e4.tar.gz
hercules-eb5b93986c7ade4100da3d1bcaf07c9f2b7824e4.tar.bz2
hercules-eb5b93986c7ade4100da3d1bcaf07c9f2b7824e4.tar.xz
hercules-eb5b93986c7ade4100da3d1bcaf07c9f2b7824e4.zip
Fixed signed/unsigned comparison issues with natural heal system
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8337 54d463be-8e91-2dee-dedb-b68131a5f0ec
-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]