Air heat is not rendered if ambient heat is disabled
This commit is contained in:
parent
4b1c388995
commit
30b11a7724
@ -1922,6 +1922,8 @@ void Renderer::draw_grav()
|
|||||||
|
|
||||||
void Renderer::draw_air()
|
void Renderer::draw_air()
|
||||||
{
|
{
|
||||||
|
if(!sim->aheat_enable && (display_mode & DISPLAY_AIRH))
|
||||||
|
return;
|
||||||
#ifndef OGLR
|
#ifndef OGLR
|
||||||
if(!(display_mode & DISPLAY_AIR))
|
if(!(display_mode & DISPLAY_AIR))
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user