summaryrefslogtreecommitdiff
path: root/src/map/mob.h
diff options
context:
space:
mode:
authormarkzd <markzd@54d463be-8e91-2dee-dedb-b68131a5f0ec>2013-01-05 04:45:53 +0000
committermarkzd <markzd@54d463be-8e91-2dee-dedb-b68131a5f0ec>2013-01-05 04:45:53 +0000
commit59029a6c7a0365521aa80519081fdfc7d958cca0 (patch)
treee096f8d20d0bbb2bcae2fa93de15d5cf4da8196a /src/map/mob.h
parent39b04a578b2a74f9e48b0eb2583c249f98c9404d (diff)
downloadhercules-59029a6c7a0365521aa80519081fdfc7d958cca0.tar.gz
hercules-59029a6c7a0365521aa80519081fdfc7d958cca0.tar.bz2
hercules-59029a6c7a0365521aa80519081fdfc7d958cca0.tar.xz
hercules-59029a6c7a0365521aa80519081fdfc7d958cca0.zip
* Follow up r17065
1. Removed some unnecessary checks.(bugreport:7078) 2. Fixed some index's which would access an invalid array position, crashing the server. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17077 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.h')
-rw-r--r--src/map/mob.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.h b/src/map/mob.h
index 1dbed9f53..34e5a81c0 100644
--- a/src/map/mob.h
+++ b/src/map/mob.h
@@ -175,7 +175,7 @@ struct mob_data {
int deletetimer;
int master_id,master_dist;
- uint16 skill_idx;
+ int8 skill_idx;// key of array
unsigned int skilldelay[MAX_MOBSKILL];
char npc_event[EVENT_NAME_LENGTH];
/**