aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2009-01-20 09:32:43 +0000
committerJohannes Schickel2009-01-20 09:32:43 +0000
commitbcae0570a6dcea636092bb24b090530741c68fb2 (patch)
tree7112d23fa4409676190318ac2117b21695176d00 /engines
parentf3a18d6da5eca8d00163e947f7f8be9f8d0d83b7 (diff)
downloadscummvm-rg350-bcae0570a6dcea636092bb24b090530741c68fb2.tar.gz
scummvm-rg350-bcae0570a6dcea636092bb24b090530741c68fb2.tar.bz2
scummvm-rg350-bcae0570a6dcea636092bb24b090530741c68fb2.zip
Yet another two small formatting fixes.
svn-id: r35942
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/scene_lol.cpp2
-rw-r--r--engines/kyra/script_lol.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/scene_lol.cpp b/engines/kyra/scene_lol.cpp
index 2c6437605e..505bf8cc70 100644
--- a/engines/kyra/scene_lol.cpp
+++ b/engines/kyra/scene_lol.cpp
@@ -893,7 +893,7 @@ void LoLEngine::generateBlockDrawingBuffer(int block, int direction) {
if (hasWall(t) && !(_wllWallFlags[t2] & 8))
generateBlockDrawingBufferF1(17, 3, t, 102, 3, 5);
- else if(t && (_wllWallFlags[t2] & 8))
+ else if (t && (_wllWallFlags[t2] & 8))
generateBlockDrawingBufferF1(17, 3, t2, 102, 3, 5);
t = _curBlockCaps[2]->walls[_sceneDrawVar2];
diff --git a/engines/kyra/script_lol.cpp b/engines/kyra/script_lol.cpp
index bb0fd6c0d0..9bbf04fa09 100644
--- a/engines/kyra/script_lol.cpp
+++ b/engines/kyra/script_lol.cpp
@@ -172,7 +172,7 @@ int LoLEngine::olol_makeItem(EMCState *script) {
int LoLEngine::olol_getItemPara(EMCState *script) {
debugC(3, kDebugLevelScriptFuncs, "LoLEngine::olol_getItemPara(%p) (%d, %d)", (const void *)script, stackPos(0), stackPos(1));
- if(!stackPos(0))
+ if (!stackPos(0))
return 0;
ItemInPlay *i = &_itemsInPlay[stackPos(0)];
@@ -272,7 +272,7 @@ int LoLEngine::olol_setCharacterStat(EMCState *script) {
// case 8 should fall through till case 10. case 8 seems to handle
// max magic points settings, while case 10 seems to remove an
// item from the inventory of a character. If it should really
- // fall through please add "// fall throught" at the end of the
+ // fall through please add "// fall through" at the end of the
// case.
switch (stackPos(1)) {
case 0: