diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-26 16:48:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-26 20:27:14 +0300 |
commit | 7cc1daf0c11cddce59392263e19eefed42ee6e3a (patch) | |
tree | e3cc1e039917dfa67b21de1bf7ba2fab1176ceb7 /src/map/pc.h | |
parent | a576c4effdb7b79d7db9b3a178d6e811a7ae82c2 (diff) | |
download | hercules-7cc1daf0c11cddce59392263e19eefed42ee6e3a.tar.gz hercules-7cc1daf0c11cddce59392263e19eefed42ee6e3a.tar.bz2 hercules-7cc1daf0c11cddce59392263e19eefed42ee6e3a.tar.xz hercules-7cc1daf0c11cddce59392263e19eefed42ee6e3a.zip |
Fix compilation errors and possible server crash from previous commits.
Diffstat (limited to 'src/map/pc.h')
-rw-r--r-- | src/map/pc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index 641a8ee7c..8472eb34e 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -366,8 +366,8 @@ struct map_session_data { short catch_target_class; // pet catching, stores a pet class to catch (short now) [zzo] short spiritball, spiritball_old; int spirit_timer[MAX_SPIRITBALL]; - short spiritcharm[SPIRITS_TYPE_SPHERE]; - int charm_timer[SPIRITS_TYPE_SPHERE][MAX_SPIRITCHARM]; + short spiritcharm[SPIRITS_TYPE_END]; + int charm_timer[SPIRITS_TYPE_END][MAX_SPIRITCHARM]; unsigned char potion_success_counter; //Potion successes in row counter unsigned char mission_count; //Stores the bounty kill count for TK_MISSION short mission_mobid; //Stores the target mob_id for TK_MISSION |