mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-25 06:45:42 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
a3b83a5d2f
2 changed files with 11 additions and 0 deletions
|
@ -4157,12 +4157,22 @@ CMenuManager::ProcessButtonPresses(void)
|
|||
DoSettingsBeforeStartingAGame();
|
||||
return;
|
||||
}
|
||||
if (glfwGetKey(PSGLOBAL(window), GLFW_KEY_D) == GLFW_PRESS) {
|
||||
scriptToLoad = 2;
|
||||
DoSettingsBeforeStartingAGame();
|
||||
return;
|
||||
}
|
||||
#elif defined _WIN32
|
||||
if (GetAsyncKeyState('R') & 0x8000) {
|
||||
scriptToLoad = 1;
|
||||
DoSettingsBeforeStartingAGame();
|
||||
return;
|
||||
}
|
||||
if (GetAsyncKeyState('D') & 0x8000) {
|
||||
scriptToLoad = 2;
|
||||
DoSettingsBeforeStartingAGame();
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -216,6 +216,7 @@ CRenderer::RenderOneNonRoad(CEntity *e)
|
|||
e->Render();
|
||||
|
||||
if(e->IsVehicle()){
|
||||
BACKFACE_CULLING_OFF;
|
||||
e->bImBeingRendered = true;
|
||||
CVisibilityPlugins::RenderAlphaAtomics();
|
||||
e->bImBeingRendered = false;
|
||||
|
|
Loading…
Reference in a new issue