diff options
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp index 1a869e61..2176327f 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -145,6 +145,7 @@ void MapLayer::draw(Graphics *graphics, int startX, int startY, { while (si != sprites.end() && (*si)->getPixelY() <= y * 32) { + (*si)->setAlpha(1.0f); (*si)->draw(graphics, -scrollX, -scrollY); si++; } @@ -167,6 +168,7 @@ void MapLayer::draw(Graphics *graphics, int startX, int startY, { while (si != sprites.end()) { + (*si)->setAlpha(1.0f); (*si)->draw(graphics, -scrollX, -scrollY); si++; } @@ -297,7 +299,6 @@ void Map::draw(Graphics *graphics, int scrollX, int scrollY) { (*si)->setAlpha(0.3f); (*si)->draw(graphics, -scrollX, -scrollY); - (*si)->setAlpha(1.0f); } } si++; |