From 67785396c1d2a3740404bd993f74dcaad87304ab Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 8 Aug 2007 20:56:11 +0000 Subject: - Changed the structure of the homunculus_db file so that the homunculus and its evolved version share the same line. Also added the evolution bonuses to it. - Updated the @homstats command to show evolution bonuses - Cleaned up the homunculus db structure. - Implemented the evolution stat growth bonuses. - Some small cleanups in the mercenary.c file - Corrected initial intimacy of a newly created homunculus (should be 21/1000) - Incremented the size of mob.c:summon.class_[] since mob_pouch has almost 350 entries. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10965 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/chrif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/chrif.c') diff --git a/src/map/chrif.c b/src/map/chrif.c index 5be283329..4a73ffbc6 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -1020,7 +1020,7 @@ int chrif_updatefamelist_ack(int fd) default: return 0; } index = RFIFOB(fd, 3); - if (index < 0 || index >= MAX_FAME_LIST) + if (index >= MAX_FAME_LIST) return 0; list[index].fame = RFIFOL(fd,4); return 1; -- cgit v1.2.3-60-g2f50