summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-29 14:33:16 +0000
committerrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-29 14:33:16 +0000
commitfbf1a94396d200e8ae6e6d0d30e291e95f85cf90 (patch)
treedf95f11658e24a27a369b40d0744c3d657a3cfcc /src/map/pc.h
parent131a6f555562e56dfb180b310d4c893a993e7b15 (diff)
downloadhercules-fbf1a94396d200e8ae6e6d0d30e291e95f85cf90.tar.gz
hercules-fbf1a94396d200e8ae6e6d0d30e291e95f85cf90.tar.bz2
hercules-fbf1a94396d200e8ae6e6d0d30e291e95f85cf90.tar.xz
hercules-fbf1a94396d200e8ae6e6d0d30e291e95f85cf90.zip
Fixed some compile warnings.(bugreport:6352, bugreport:6361)
Follow up r16520 added some missing entry in packet_db.txt where my patch doesn't include it...XD git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16530 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.h')
-rw-r--r--src/map/pc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index 05ffb0c72..f7a821768 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -332,8 +332,8 @@ struct map_session_data {
short spiritball, spiritball_old;
int spirit_timer[MAX_SKILL_LEVEL];
- short talisman[5];
- int talisman_timer[5][10];
+ short talisman[ELE_POISON+1]; // There are actually 5 talisman Fire, Ice, Wind, Earth & Poison maybe because its color violet.
+ int talisman_timer[ELE_POISON+1][10];
unsigned char potion_success_counter; //Potion successes in row counter
unsigned char mission_count; //Stores the bounty kill count for TK_MISSION