summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-03 12:20:28 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-03 12:20:28 +0000
commitef3dd111a1d2b77b37dc7848ce2f2e5f28948b72 (patch)
treecd3ce5bea5768ff8dc61415362835f6a3cba4ef1 /src/map/status.c
parent7563f5131f94b33c0ad988a21de62567a6906f99 (diff)
downloadhercules-ef3dd111a1d2b77b37dc7848ce2f2e5f28948b72.tar.gz
hercules-ef3dd111a1d2b77b37dc7848ce2f2e5f28948b72.tar.bz2
hercules-ef3dd111a1d2b77b37dc7848ce2f2e5f28948b72.tar.xz
hercules-ef3dd111a1d2b77b37dc7848ce2f2e5f28948b72.zip
Removed the map.h<->status.h cyclic dependency. Relies on the fact by that preprocessor definitions don't need to be expanded immediately (or some other obscure reason why the thing even compiles :D)
This allowed me to also remove the annoying/memory-wasting MAX_STATUSCHANGE define. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10442 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 5ba30b62a..841b40867 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -7415,11 +7415,6 @@ int status_readdb(void) {
*/
int do_init_status(void)
{
- if (SC_MAX > MAX_STATUSCHANGE)
- {
- ShowDebug("status.h defines %d status changes, but the MAX_STATUSCHANGE is %d! Fix it.\n", SC_MAX, MAX_STATUSCHANGE);
- exit(1);
- }
add_timer_func_list(status_change_timer,"status_change_timer");
add_timer_func_list(kaahi_heal_timer,"kaahi_heal_timer");
add_timer_func_list(status_natural_heal_timer,"status_natural_heal_timer");