aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/hdb.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2019-08-18 20:31:58 +0200
committerEugene Sandulenko2019-09-03 17:17:34 +0200
commit23c7dc8ebd6f6443f476de010129bb01aff210b4 (patch)
tree3f0279facd5f8bdac8042110cf2a0d1f5b40b4d9 /engines/hdb/hdb.cpp
parent62a0fb85519e8e2eefe08f7d51fd7dbb46bf365f (diff)
downloadscummvm-rg350-23c7dc8ebd6f6443f476de010129bb01aff210b4.tar.gz
scummvm-rg350-23c7dc8ebd6f6443f476de010129bb01aff210b4.tar.bz2
scummvm-rg350-23c7dc8ebd6f6443f476de010129bb01aff210b4.zip
HDB: Implement differences in rendering pipeline for the PPC demo
Diffstat (limited to 'engines/hdb/hdb.cpp')
-rw-r--r--engines/hdb/hdb.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp
index 43b419abdc..488158152e 100644
--- a/engines/hdb/hdb.cpp
+++ b/engines/hdb/hdb.cpp
@@ -1012,7 +1012,9 @@ Common::Error HDBGame::run() {
if (e && e->level < 2)
_ai->drawWayPoints();
- _map->drawEnts();
+ if (!(g_hdb->isDemo() && g_hdb->isPPC()))
+ _map->drawEnts();
+
_map->drawGratings();
if (e && e->level == 2)