mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-29 18:30:37 +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 (gamestate != GS_LEVEL || System_WantGuiCapture()) return CCMD_OK;
|
||||||
if (!nFreeze)
|
if (!nFreeze)
|
||||||
{
|
{
|
||||||
if (bCamera) {
|
bCamera = !bCamera;
|
||||||
bCamera = false;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
bCamera = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (bCamera)
|
if (bCamera)
|
||||||
GrabPalette();
|
GrabPalette();
|
||||||
}
|
}
|
||||||
|
cl_syncinput = bCamera;
|
||||||
return CCMD_OK;
|
return CCMD_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,7 @@ short nChunkTotal = 0;
|
||||||
fixed_t nCameraa;
|
fixed_t nCameraa;
|
||||||
fixed_t nCamerapan;
|
fixed_t nCamerapan;
|
||||||
short nViewTop;
|
short nViewTop;
|
||||||
short bCamera = false;
|
bool bCamera = false;
|
||||||
|
|
||||||
int viewz;
|
int viewz;
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ BEGIN_PS_NS
|
||||||
|
|
||||||
extern short bSubTitles;
|
extern short bSubTitles;
|
||||||
extern short besttarget;
|
extern short besttarget;
|
||||||
extern short bCamera;
|
extern bool bCamera;
|
||||||
|
|
||||||
void DrawStatusBar();
|
void DrawStatusBar();
|
||||||
void DrawView(double smoothRatio, bool sceneonly = false);
|
void DrawView(double smoothRatio, bool sceneonly = false);
|
||||||
|
|
Loading…
Reference in a new issue