diff options
| author | Japa | 2011-03-01 19:07:36 +0000 |
|---|---|---|
| committer | Japa | 2011-03-01 19:07:36 +0000 |
| commit | 2ba67112deeb2d38c4070fa46b90855c3b827ff3 (patch) | |
| tree | b6a14aee609c06feb768e4e211a6dd25b74cd3f2 /SpriteObjects.cpp | |
| parent | 1baec40c25797cbe6a3274b2e142aaeb7291c5ab (diff) | |
| download | stonesense-2ba67112deeb2d38c4070fa46b90855c3b827ff3.tar.gz stonesense-2ba67112deeb2d38c4070fa46b90855c3b827ff3.tar.bz2 stonesense-2ba67112deeb2d38c4070fa46b90855c3b827ff3.tar.xz | |
brought in a new DFhack.
Fog of war is now automatic with respect to weather or not a creature is being directly controlled.
Crashes when travelling in adventure mode have gone from Always to Occasional.
Diffstat (limited to 'SpriteObjects.cpp')
| -rw-r--r-- | SpriteObjects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SpriteObjects.cpp b/SpriteObjects.cpp index 938df9b..7f67f46 100644 --- a/SpriteObjects.cpp +++ b/SpriteObjects.cpp @@ -667,7 +667,7 @@ void c_sprite::draw_world_offset(int x, int y, int z, Block * b, int tileoffset, sheety = ((sheetindex+tileoffset+randoffset) / SHEET_OBJECTSWIDE) * spriteheight;
}
ALLEGRO_COLOR shade_color = get_color(b);
- if(!b->designation.bits.pile && config.fog_of_war)
+ if(!b->designation.bits.pile && config.fog_of_war && (contentLoader.gameMode == 1))
{
shade_color.r *= 0.25f;
shade_color.g *= 0.25f;
|
