--- deliantra/server/common/living.C 2007/08/07 23:38:12 1.77 +++ deliantra/server/common/living.C 2007/08/20 19:13:10 1.78 @@ -1352,20 +1352,19 @@ * weight limit, then player suffers a speed reduction based on how * much above he is, and what is max carry is */ - f = (carrying / 1000) - max_carry[stats.Str]; - if (f > 0) + float f = (carrying / 1000) - max_carry[stats.Str]; + if (f > 0.f) speed = speed / (1.f + f / max_carry[stats.Str]); } speed += bonus_speed / 10.f; /* Not affected by limits */ - - speed = speed * speed_reduce_from_disease; + speed *= speed_reduce_from_disease; /* Put a lower limit on speed. Note with this speed, you move once every - * 100 ticks or so. This amounts to once every 12 seconds of realtime. + * 25 ticks or so. This amounts to once every 3 seconds of realtime. */ - if (speed < 0.01f && type == PLAYER) - speed = 0.01f; + if (speed < 0.04f && type == PLAYER) + speed = 0.04f; if (speed != old_speed) set_speed (speed);