- Fixed: Picking up a weapon would sometimes not activate the grin.
SVN r1043 (trunk)
This commit is contained in:
parent
a86774fcdd
commit
b899fbeabe
2 changed files with 7 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue