Skip to content

Commit 628382c

Browse files
Always do fogOwar but only in adventure mode
1 parent 6f6a9f0 commit 628382c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SpriteColors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ ALLEGRO_COLOR shadeAdventureMode(ALLEGRO_COLOR color, bool foggy, bool outside)
207207
{
208208
auto& contentLoader = stonesenseState.contentLoader;
209209

210-
if(foggy && stonesenseState.ssConfig.config.fog_of_war) {
210+
if(foggy && contentLoader->gameMode.g_mode == GAMEMODE_ADVENTURE) {
211211
color.r *= 0.25f;
212212
color.g *= 0.25f;
213213
color.b *= 0.25f;

0 commit comments

Comments
 (0)