mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 03:09:18 +02:00
option to disable cab rendering
This commit is contained in:
@@ -2280,6 +2280,8 @@ bool opengl_renderer::Render(TDynamicObject *Dynamic)
|
||||
// rendering kabiny gdy jest oddzielnym modelem i ma byc wyswietlana
|
||||
bool opengl_renderer::Render_cab(TDynamicObject const *Dynamic, float const Lightlevel, bool const Alpha)
|
||||
{
|
||||
if (!Global.render_cab)
|
||||
return false;
|
||||
|
||||
if (Dynamic == nullptr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user