aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
authorEugene Sandulenko2019-07-14 01:15:53 +0200
committerEugene Sandulenko2019-09-03 17:17:20 +0200
commited60dcd50607ecdd6c10eaedc477f4954c4361eb (patch)
treeecebe32f2da2eae2aeb46186948452f19e2807ae /engines/hdb
parent723b86e1cf0f5cf96495e543811c8002df762cd1 (diff)
downloadscummvm-rg350-ed60dcd50607ecdd6c10eaedc477f4954c4361eb.tar.gz
scummvm-rg350-ed60dcd50607ecdd6c10eaedc477f4954c4361eb.tar.bz2
scummvm-rg350-ed60dcd50607ecdd6c10eaedc477f4954c4361eb.zip
HDB: Fix 3D stars left
Diffstat (limited to 'engines/hdb')
-rw-r--r--engines/hdb/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hdb/gfx.cpp b/engines/hdb/gfx.cpp
index d3a63a964e..e841381d9d 100644
--- a/engines/hdb/gfx.cpp
+++ b/engines/hdb/gfx.cpp
@@ -618,7 +618,7 @@ void Gfx::draw3DStarsLeft() {
for (int i = 0; i < kNum3DStars; i++) {
_starField[_stars3DSlow[i].color]->drawMasked((int)_stars3DSlow[i].x, (int)_stars3DSlow[i].y);
_stars3DSlow[i].x -= _stars3DSlow[i].speed;
- if (_stars3DSlow[i].x < kScreenWidth) {
+ if (_stars3DSlow[i].x < 0) {
_stars3DSlow[i].x = kScreenWidth - 1;
}
}