- fixed: Switching a weapon did not reset the refire counter.

SVN r1776 (trunk)
This commit is contained in:
Christoph Oelckers 2009-08-29 15:50:03 +00:00
commit 6e3fdbdfc8
3 changed files with 2 additions and 6 deletions

View file

@ -1581,12 +1581,6 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_ThrowGrenade)
bo->velx += self->velx >> 1;
bo->vely += self->vely >> 1;
bo->target= self;
if (bo->flags4&MF4_RANDOMIZE)
{
bo->tics -= pr_grenade() & 3;
if (bo->tics < 1)
bo->tics = 1;
}
P_CheckMissileSpawn (bo);
}
else ACTION_SET_RESULT(false);