summaryrefslogtreecommitdiff
path: root/src/map/status.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/status.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/status.c')
-rw-r--r--src/map/status.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/map/status.c b/src/map/status.c
index dfd5279d3..c287321b8 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -7,7 +7,12 @@
#include <stdlib.h>
#include <memory.h>
#include <string.h>
-#include <limits.h>
+
+#include "../common/cbasetypes.h"
+#include "../common/timer.h"
+#include "../common/nullpo.h"
+#include "../common/showmsg.h"
+#include "../common/malloc.h"
#include "pc.h"
#include "map.h"
@@ -25,11 +30,6 @@
#include "unit.h"
#include "mercenary.h"
-#include "../common/timer.h"
-#include "../common/nullpo.h"
-#include "../common/showmsg.h"
-#include "../common/malloc.h"
-
//For specifying where in the SkillStatusChangeTableArray the "out of bounds" skills get stored. [Skotlex]
#define SC_HM_BASE 800
#define SC_GD_BASE 900