summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-30 08:25:03 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-30 08:25:03 +0000
commit1a71202b477c6820b9193a1131a61c3c7b005924 (patch)
tree517c5a841b0dd02c120d8fa20a268a147a11425b /src/map/clif.c
parent97cb8eebed531dda76a2f4015a95823a9540dd0a (diff)
downloadhercules-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/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 51706f431..ee4e20d79 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -12260,7 +12260,7 @@ void clif_parse_FeelSaveOk(int fd,struct map_session_data *sd)
if (sd->menuskill_id != SG_FEEL)
return;
i = sd->menuskill_val-1;
- if (i<0 || i > 2) return; //Bug?
+ if (i<0 || i >= MAX_PC_FEELHATE) return; //Bug?
sd->feel_map[i].index = map_id2index(sd->bl.m);
sd->feel_map[i].m = sd->bl.m;