summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-21 18:23:08 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-21 18:23:08 +0000
commitb60826b40d84bd3807fe8fa18bce8117fc5051e3 (patch)
treea3ff3c9696c9b021d1d6c2230815e61904e70565 /src/map/map.h
parenta657a7f44335502eb140c269842f7dccb861e647 (diff)
downloadhercules-b60826b40d84bd3807fe8fa18bce8117fc5051e3.tar.gz
hercules-b60826b40d84bd3807fe8fa18bce8117fc5051e3.tar.bz2
hercules-b60826b40d84bd3807fe8fa18bce8117fc5051e3.tar.xz
hercules-b60826b40d84bd3807fe8fa18bce8117fc5051e3.zip
- Moved ignoreAll to state.ignoreAll so it saves some space.
- Cleaned up clif_parse_Wis to prevent crashes from forged packets (using a strlen() on a string where you don't know if it's null-terminated is a NO-NO) - Cleaned up the implementation of the ignore list so it's more efficient. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9282 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 934acb31f..2061e93bb 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -596,6 +596,7 @@ struct map_session_data {
unsigned killer : 1;
unsigned killable : 1;
unsigned doridori : 1;
+ unsigned ignoreAll : 1;
unsigned short autoloot;
struct guild *gmaster_flag;
} state;
@@ -638,7 +639,6 @@ struct map_session_data {
struct{
char name[NAME_LENGTH];
} ignore[MAX_IGNORE_LIST];
- int ignoreAll;
int followtimer; // [MouseJstr]
int followtarget;