- Fixed: Picking up a weapon would sometimes not activate the grin.

SVN r1043 (trunk)
This commit is contained in:
Christoph Oelckers 2008-06-16 23:43:31 +00:00
commit b899fbeabe
2 changed files with 7 additions and 5 deletions

View file

@ -333,15 +333,15 @@ int FMugShot::UpdateState(player_t *player, bool xdeath, bool animated_god_mode)
{
if (bEvilGrin)
{
if (CurrentState == NULL)
{
bEvilGrin = false;
}
else if (player->bonuscount)
if (player->bonuscount)
{
SetState("grin", false);
return 0;
}
else if (CurrentState == NULL)
{
bEvilGrin = false;
}
}
if (player->damagecount)