mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- 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
|
@ -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.
|
||||
|
|
|
@ -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…
Reference in a new issue