mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- Exhumed: Force synchronised input when using 3rd person mode until something better can be done for it.
This commit is contained in:
parent
78903fab2b
commit
9271444feb
3 changed files with 4 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ short nChunkTotal = 0;
|
|||
fixed_t nCameraa;
|
||||
fixed_t nCamerapan;
|
||||
short nViewTop;
|
||||
short bCamera = false;
|
||||
bool bCamera = false;
|
||||
|
||||
int viewz;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue