diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-01 21:15:57 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-01 21:15:57 +0000 |
commit | a6ba6ca70419e7f6db413c3581aee6e90dc87b0a (patch) | |
tree | 8f7f1e068fc2f9bae7e7ff041eb8c3dc83e0e887 /src/map/map.h | |
parent | b1d22b02963b16c4edcce0cd5d2bc521d97348f9 (diff) | |
download | hercules-a6ba6ca70419e7f6db413c3581aee6e90dc87b0a.tar.gz hercules-a6ba6ca70419e7f6db413c3581aee6e90dc87b0a.tar.bz2 hercules-a6ba6ca70419e7f6db413c3581aee6e90dc87b0a.tar.xz hercules-a6ba6ca70419e7f6db413c3581aee6e90dc87b0a.zip |
- Fixed the server crashing on startup due to bad define
- Fixed the server crashing on a timer-queued disguise / undisguise (no sd check)
- re-added the item_group_list for consistency's sake, moved to itemdb.h (after some hacking to remove the ugly map.h dependency)
- Removed some overly verbose item group messages & code
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10112 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r-- | src/map/map.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/map/map.h b/src/map/map.h index 14fbf6e31..a6f0cf614 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -9,6 +9,8 @@ #include "../common/mapindex.h" #include "../common/db.h" +#include "itemdb.h" // MAX_ITEMGROUP + //Uncomment to enable the Cell Stack Limit mod. //It's only config is the battle_config cell_stack_limit. //Only chars affected are those defined in BL_CHAR (mobs and players currently) @@ -56,8 +58,6 @@ #define MOBID_EMPERIUM 1288 #define MAX_PC_BONUS 10 -//Designed for search functions, species max number of matches to display. -#define MAX_SEARCH 5 #define MAX_DUEL 1024 #define map_id2index(id) map[(id)].index @@ -229,10 +229,6 @@ enum { ELE_MAX }; -//The onlu item group required by the code to be known. -#define IG_FINDINGORE 6 -#define MAX_ITEMGROUP 40 - enum { ATF_SELF=0x01, ATF_TARGET=0x02, |