Fix a couple of MSVC compiler warnings

This commit is contained in:
2017-09-16 12:46:42 -04:00
parent 9127e4a03f
commit e53056a132
2 changed files with 2 additions and 2 deletions

View File

@@ -152,7 +152,7 @@ void apply_light_mask(bool onWindow) {
rectangle temp = {0,0,108,84},paint_rect,base_rect = {0,0,36,28};
rectangle big_to = {13,13,337,265};
bool same_mask = true;
if(!get_bool_pref("DrawTerrainFrills", true) > 0 || fog_lifted)
if(!get_bool_pref("DrawTerrainFrills", true) || fog_lifted)
return;
if(is_out() || overall_mode == MODE_RESTING)
return;