summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-23 03:24:32 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-23 03:24:32 +0000
commitd28762e63974a9dbe1e642829df185cdd40abde5 (patch)
tree93e3775658baccb87a804d89068c2c27315d1231 /src/map/battle.c
parentec0953fdd84a6b85189e9698118ea8aa62d8bdc1 (diff)
downloadhercules-d28762e63974a9dbe1e642829df185cdd40abde5.tar.gz
hercules-d28762e63974a9dbe1e642829df185cdd40abde5.tar.bz2
hercules-d28762e63974a9dbe1e642829df185cdd40abde5.tar.xz
hercules-d28762e63974a9dbe1e642829df185cdd40abde5.zip
- Moved "#include <limits.h>" to cbasetypes.h to ensure it's included before checking if UINT_MAX has been defined.
- Minor changes in pc_readdb related to max_level being unsigned. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9561 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index b80861df7..7ff6299e6 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -5,9 +5,8 @@
#include <stdlib.h>
#include <string.h>
#include <math.h>
-#include <limits.h>
-#include "battle.h"
+#include "../common/cbasetypes.h"
#include "../common/timer.h"
#include "../common/nullpo.h"
#include "../common/malloc.h"
@@ -24,6 +23,7 @@
#include "pet.h"
#include "guild.h"
#include "party.h"
+#include "battle.h"
int attr_fix_table[4][ELE_MAX][ELE_MAX];