diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 4ee417adf..e4608f3a9 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -1,3 +1,8 @@ +October 18, 2008 +- Commented out the MugShot state nulling in DSBarInfo::AttachToPlayer() so + that fiddling with player options does not reset the mug shot. +- Fixed: SetMugShotState ACS command did not pop the stack. + October 18, 2008 (Changes by Graf Zahl) - Added a global symbol table and changed DECORATE parser to put its global symbols there instead of into AActor. diff --git a/src/g_shared/sbarinfo_display.cpp b/src/g_shared/sbarinfo_display.cpp index 63dc55a88..c8f704332 100644 --- a/src/g_shared/sbarinfo_display.cpp +++ b/src/g_shared/sbarinfo_display.cpp @@ -277,7 +277,7 @@ void DSBarInfo::NewGame () void DSBarInfo::AttachToPlayer (player_t *player) { DBaseStatusBar::AttachToPlayer(player); - MugShot.CurrentState = NULL; +// MugShot.CurrentState = NULL; } void DSBarInfo::SetMugShotState (const char *state_name, bool wait_till_done, bool reset) diff --git a/src/p_acs.cpp b/src/p_acs.cpp index 9dc01b3d4..c5854282b 100644 --- a/src/p_acs.cpp +++ b/src/p_acs.cpp @@ -5420,6 +5420,7 @@ int DLevelScript::RunScript () case PCD_SETMUGSHOTSTATE: StatusBar->SetMugShotState(FBehavior::StaticLookupString(STACK(1))); + sp--; break; case PCD_CHECKPLAYERCAMERA: