- 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
parent a86774fcdd
commit b899fbeabe
2 changed files with 7 additions and 5 deletions

View file

@ -1,4 +1,6 @@
June 16, 2008 (Changes by Graf Zahl)
- Fixed: The mugshot would not reset on re-spawn.
- Fixed: Picking up a weapon would sometimes not activate the grin.
- Changed: Line_SetIdentification will ignore extended parameters when
used in maps defined Hexen style in MAPINFO.
- Fixed: Ambient sounds didn't pass their point of origin to S_StartSound.

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)