diff options
author | codemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-13 02:16:51 +0000 |
---|---|---|
committer | codemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-13 02:16:51 +0000 |
commit | 996a25cabc3c5be0ac8a5c4a46123e076b07af39 (patch) | |
tree | 573c407394a6338db6e2083a702386abf8a6a4c1 /src/map/map.h | |
parent | baff4da7ab8cf41ac0313c7a0e4d2c6685217eb1 (diff) | |
download | hercules-996a25cabc3c5be0ac8a5c4a46123e076b07af39.tar.gz hercules-996a25cabc3c5be0ac8a5c4a46123e076b07af39.tar.bz2 hercules-996a25cabc3c5be0ac8a5c4a46123e076b07af39.tar.xz hercules-996a25cabc3c5be0ac8a5c4a46123e076b07af39.zip |
Fixed Attacking Mobs by using a file from FREYA (thanks MagicalTux and Yor)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@141 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r-- | src/map/map.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/map/map.h b/src/map/map.h index 6e7f6c7e5..d622ecd35 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -31,7 +31,7 @@ #define MAX_LEVEL 255
#define MAX_WALKPATH 48
#define MAX_DROP_PER_MAP 48
-#define MAX_WIS_REFUSAL 14
+#define MAX_IGNORE_LIST 80
#define DEFAULT_AUTOSAVE_INTERVAL 60*1000
@@ -179,8 +179,10 @@ struct map_session_data { char npc_str[256];
unsigned int chatID;
- char wis_refusal[MAX_WIS_REFUSAL][24]; //Refuse Whispers
- int wis_all; //Ignore all Whispers
+ struct{
+ char name[24];
+ } ignore[MAX_IGNORE_LIST];
+ int ignoreAll;
int attacktimer;
int attacktarget;
|