diff options
author | Sven Hesse | 2007-11-04 13:01:41 +0000 |
---|---|---|
committer | Sven Hesse | 2007-11-04 13:01:41 +0000 |
commit | 906a423fa7767c5100a1269cc90231840eb5e728 (patch) | |
tree | 33059093b8afb563089e1e21432c3c728f00f0d5 /engines/cruise/function.cpp | |
parent | fa15952f09129b0bfcbc2d1ba45f5a4094c4d86c (diff) | |
download | scummvm-rg350-906a423fa7767c5100a1269cc90231840eb5e728.tar.gz scummvm-rg350-906a423fa7767c5100a1269cc90231840eb5e728.tar.bz2 scummvm-rg350-906a423fa7767c5100a1269cc90231840eb5e728.zip |
Some code formating fixes
svn-id: r29409
Diffstat (limited to 'engines/cruise/function.cpp')
-rw-r--r-- | engines/cruise/function.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/cruise/function.cpp b/engines/cruise/function.cpp index 569848fec1..5e12c9bc6a 100644 --- a/engines/cruise/function.cpp +++ b/engines/cruise/function.cpp @@ -1401,13 +1401,12 @@ int16 Op_SetObjectAtNode(void) { int16 obj = popVar(); int16 ovl = popVar(); - if(!ovl) + if (!ovl) ovl = currentScriptPtr->overlayNumber;; int nodeInfo[2]; - if(!getNode(nodeInfo, node)) - { + if (!getNode(nodeInfo, node)) { setObjectPosition(ovl, obj, 0, nodeInfo[0]); setObjectPosition(ovl, obj, 1, nodeInfo[1]); setObjectPosition(ovl, obj, 2, nodeInfo[1]); |