aboutsummaryrefslogtreecommitdiff
path: root/engines/dm
diff options
context:
space:
mode:
authorAdrian Frühwirth2018-04-22 00:49:39 +0200
committerAdrian Frühwirth2018-04-22 00:56:21 +0200
commita20f90cbb7bfd61ee32ccd32603766de02c03ac8 (patch)
tree584197b20b101d746b64a20e3f1073b4b8808bb7 /engines/dm
parentdd425413b5c69861fffe0071e6ca74b33a78c341 (diff)
downloadscummvm-rg350-a20f90cbb7bfd61ee32ccd32603766de02c03ac8.tar.gz
scummvm-rg350-a20f90cbb7bfd61ee32ccd32603766de02c03ac8.tar.bz2
scummvm-rg350-a20f90cbb7bfd61ee32ccd32603766de02c03ac8.zip
JANITORIAL: Fix formatting
Diffstat (limited to 'engines/dm')
-rw-r--r--engines/dm/menus.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/dm/menus.cpp b/engines/dm/menus.cpp
index 7626cb0425..f547bbe934 100644
--- a/engines/dm/menus.cpp
+++ b/engines/dm/menus.cpp
@@ -733,9 +733,9 @@ Spell *MenuMan::getSpellFromSymbols(byte *symbols) {
if (*(symbols + 1)) {
int16 bitShiftCount = 24;
int32 curSymbols = 0;
- do
+ do {
curSymbols |= (long)*symbols++ << bitShiftCount;
- while (*symbols && ((bitShiftCount -= 8) >= 0));
+ } while (*symbols && ((bitShiftCount -= 8) >= 0));
Spell *curSpell = SpellsArray;
int16 spellIndex = 25;
while (spellIndex--) {