aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/gfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hdb/gfx.cpp')
-rw-r--r--engines/hdb/gfx.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/hdb/gfx.cpp b/engines/hdb/gfx.cpp
index 3aa37e928c..80e5ac832a 100644
--- a/engines/hdb/gfx.cpp
+++ b/engines/hdb/gfx.cpp
@@ -960,6 +960,9 @@ void Gfx::getCursor(int *x, int *y) {
}
void Gfx::turnOnBonusStars(int which) {
+ if (!g_hdb->isDemo())
+ return;
+
_starsInfo.active = true;
for (int i = 0; i < 10; i++)
_starsInfo.starAngle[i] = (36 * (i + 1)) - 10;