diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-11-21 16:20:26 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-11-21 16:20:26 +0000 |
commit | 39253de1b1335b0c9f71d5bc31c1a6b5a95f6940 (patch) | |
tree | 44f84d16dc991ab884284292d6f4de9af41937eb /src/map/mob.c | |
parent | 82e2517fa237679eb08818b0b600a28bb781ad07 (diff) | |
download | hercules-39253de1b1335b0c9f71d5bc31c1a6b5a95f6940.tar.gz hercules-39253de1b1335b0c9f71d5bc31c1a6b5a95f6940.tar.bz2 hercules-39253de1b1335b0c9f71d5bc31c1a6b5a95f6940.tar.xz hercules-39253de1b1335b0c9f71d5bc31c1a6b5a95f6940.zip |
* Added enumeration RC2_* for mob data 'race2' (bugreport:4561).
- Fixed race2-related bonus arrays using RC_MAX, rather than race2 maximum (since r6221, related r1277).
- Fixed bSubRace2 lacking bounds check (since r1257).
- Fixed bSubRace2 being documented as bSPSubRace2 (since r1257).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14480 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 81fc9e68b..413d88f26 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -4349,7 +4349,7 @@ static int mob_readdb_race(void) continue; race=atoi(str[0]); - if (race < 0 || race >= MAX_MOB_RACE_DB) + if (race < RC2_NONE || race >= RC2_MAX) continue; for (j=1; j<20; j++) { |