diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-11-30 08:25:03 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-11-30 08:25:03 +0000 |
commit | 1a71202b477c6820b9193a1131a61c3c7b005924 (patch) | |
tree | 517c5a841b0dd02c120d8fa20a268a147a11425b /src/map/pc.h | |
parent | 97cb8eebed531dda76a2f4015a95823a9540dd0a (diff) | |
download | hercules-1a71202b477c6820b9193a1131a61c3c7b005924.tar.gz hercules-1a71202b477c6820b9193a1131a61c3c7b005924.tar.bz2 hercules-1a71202b477c6820b9193a1131a61c3c7b005924.tar.xz hercules-1a71202b477c6820b9193a1131a61c3c7b005924.zip |
* Added a define for star gladiator feel/hate info array length (follow up to r8721 and r11840).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14523 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.h')
-rw-r--r-- | src/map/pc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index 359b9ca90..5dbff7e23 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -17,6 +17,7 @@ #include "mob.h" #define MAX_PC_BONUS 10 +#define MAX_PC_FEELHATE 3 struct weapon_data { int atkmods[3]; @@ -733,7 +734,7 @@ struct sg_data { char hate_var[NAME_LENGTH]; int (*day_func)(void); }; -extern const struct sg_data sg_info[3]; +extern const struct sg_data sg_info[MAX_PC_FEELHATE]; void pc_setinvincibletimer(struct map_session_data* sd, int val); void pc_delinvincibletimer(struct map_session_data* sd); |