aboutsummaryrefslogtreecommitdiff
path: root/engines/bbvs/minigames/minigame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/bbvs/minigames/minigame.cpp')
-rw-r--r--engines/bbvs/minigames/minigame.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/bbvs/minigames/minigame.cpp b/engines/bbvs/minigames/minigame.cpp
index aae18072d9..58d98a9df8 100644
--- a/engines/bbvs/minigames/minigame.cpp
+++ b/engines/bbvs/minigames/minigame.cpp
@@ -44,13 +44,13 @@ Minigame::~Minigame() {
int Minigame::drawNumber(DrawList &drawList, int number, int x, int y) {
int digits = 1, rightX = x;
-
+
for (int mag = 10; number / mag != 0; mag *= 10)
++digits;
-
+
rightX = x + digits * 10;
x = rightX;
-
+
while (digits--) {
const int n = number % 10;
x -= 10;