aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNipun Garg2019-06-25 02:04:07 +0530
committerEugene Sandulenko2019-09-03 17:16:59 +0200
commit855fd3805cde972f6a702206b8ea2a16f95483af (patch)
treeaffbd2a24ace7273939af0f577806abaeee30191 /engines
parent63358b754e54ed96324bd42bbb2780c8f0302cf3 (diff)
downloadscummvm-rg350-855fd3805cde972f6a702206b8ea2a16f95483af.tar.gz
scummvm-rg350-855fd3805cde972f6a702206b8ea2a16f95483af.tar.bz2
scummvm-rg350-855fd3805cde972f6a702206b8ea2a16f95483af.zip
HDB: Fix space formatting
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/ai-bots.cpp2
-rw-r--r--engines/hdb/draw-manager.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/hdb/ai-bots.cpp b/engines/hdb/ai-bots.cpp
index f3c89dccd3..54c0d18b75 100644
--- a/engines/hdb/ai-bots.cpp
+++ b/engines/hdb/ai-bots.cpp
@@ -135,7 +135,7 @@ void aiOmniBotMissileInit(AIEntity *e) {
}
void aiOmniBotMissileInit2(AIEntity *e) {
- for (int i = 0; i < e->movedownFrames;i++)
+ for (int i = 0; i < e->movedownFrames; i++)
e->moveleftGfx[i] = e->moverightGfx[i] = e->moveupGfx[i] = e->movedownGfx[i];
e->moveleftFrames = e->moverightFrames = e->moveupFrames = e->movedownFrames;
diff --git a/engines/hdb/draw-manager.cpp b/engines/hdb/draw-manager.cpp
index 23bfb35832..133a24d01d 100644
--- a/engines/hdb/draw-manager.cpp
+++ b/engines/hdb/draw-manager.cpp
@@ -517,7 +517,7 @@ void DrawMan::drawText(const char *string) {
}
// Draw the characters
- for (int j = 0; j < (int)strlen(string);j++) {
+ for (int j = 0; j < (int)strlen(string); j++) {
c = string[j];
if (c == '\n' || cr[j]) {
_cursorX = _eLeft;