- Exhumed: Force synchronised input when using 3rd person mode until something better can be done for it.

This commit is contained in:
Mitchell Richters 2020-09-27 15:46:04 +10:00
parent 78903fab2b
commit 9271444feb
3 changed files with 4 additions and 8 deletions

View file

@ -108,16 +108,12 @@ static int osdcmd_third_person_view(CCmdFuncPtr parm)
if (gamestate != GS_LEVEL || System_WantGuiCapture()) return CCMD_OK;
if (!nFreeze)
{
if (bCamera) {
bCamera = false;
}
else {
bCamera = true;
}
bCamera = !bCamera;
if (bCamera)
GrabPalette();
}
cl_syncinput = bCamera;
return CCMD_OK;
}

View file

@ -51,7 +51,7 @@ short nChunkTotal = 0;
fixed_t nCameraa;
fixed_t nCamerapan;
short nViewTop;
short bCamera = false;
bool bCamera = false;
int viewz;

View file

@ -25,7 +25,7 @@ BEGIN_PS_NS
extern short bSubTitles;
extern short besttarget;
extern short bCamera;
extern bool bCamera;
void DrawStatusBar();
void DrawView(double smoothRatio, bool sceneonly = false);