From 8d573da5d4db846bb53ed8b3e8e628e6fa997510 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 26 Jul 2012 02:16:56 +0000 Subject: Fixed bugreport:6311 capped summons speed to a minimum of 2 in order for them not to become useless (before this if you say cloned someone with less than 2 of speed the clones wouldn't function properly) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16501 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/status.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/status.c') diff --git a/src/map/status.c b/src/map/status.c index a5bc25d91..1c9a2d830 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1992,6 +1992,8 @@ int status_calc_mob_(struct mob_data* md, bool first) if (mstatus && battle_config.slaves_inherit_speed&(mstatus->mode&MD_CANMOVE?1:2)) status->speed = mstatus->speed; + if( status->speed < 2 ) /* minimum for the unit to function properly */ + status->speed = 2; } if (flag&16 && mbl) -- cgit v1.2.3-60-g2f50