aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorathrxx2011-03-22 15:53:43 +0100
committerathrxx2011-03-22 15:53:43 +0100
commit92f922aabe5811fcf595697bc1316aa57b4c9b66 (patch)
tree39b6efd4b0782ca3df5f156f4772529c04dddd73 /engines
parent2def212de75b3885738c4db188f0a42b712bd48f (diff)
downloadscummvm-rg350-92f922aabe5811fcf595697bc1316aa57b4c9b66.tar.gz
scummvm-rg350-92f922aabe5811fcf595697bc1316aa57b4c9b66.tar.bz2
scummvm-rg350-92f922aabe5811fcf595697bc1316aa57b4c9b66.zip
SCUMM FM-TOWNS: cleanup (thx LordHoto)
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/gfx.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp
index 9efddc6ad2..0db77a1b7d 100644
--- a/engines/scumm/gfx.cpp
+++ b/engines/scumm/gfx.cpp
@@ -1283,10 +1283,8 @@ void ScummEngine::drawBox(int x, int y, int x2, int y2, int color) {
) {
#ifndef DISABLE_TOWNS_DUAL_LAYER_MODE
if (_game.platform == Common::kPlatformFMTowns) {
- if (color == 254) {
- color = color;
+ if (color == 254)
towns_setupPalCycleField(x, y, x2, y2);
- }
} else
#endif
{