diff options
author | Max Horn | 2007-04-27 22:12:46 +0000 |
---|---|---|
committer | Max Horn | 2007-04-27 22:12:46 +0000 |
commit | 101fbdd64f1a9d62c40dcdd20d618a098dc9df7e (patch) | |
tree | 4f27addf674c5ea89220e549dec627db46ea8e75 /engines | |
parent | f479aa73bab5717f49844daf53c07a957627389e (diff) | |
download | scummvm-rg350-101fbdd64f1a9d62c40dcdd20d618a098dc9df7e.tar.gz scummvm-rg350-101fbdd64f1a9d62c40dcdd20d618a098dc9df7e.tar.bz2 scummvm-rg350-101fbdd64f1a9d62c40dcdd20d618a098dc9df7e.zip |
Fixing more warnings
svn-id: r26630
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cruise/function.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/cruise/function.cpp b/engines/cruise/function.cpp index eb40ca13e7..5603cdd68e 100644 --- a/engines/cruise/function.cpp +++ b/engines/cruise/function.cpp @@ -1449,7 +1449,7 @@ int16 Op_6C(void) return temp; } -void configureAllObjects(int overlayIdx, cellStruct* pObject, int _var4, int var0, int var1, int _var2, int _var3) +void configureAllObjects(int overlayIdx, cellStruct* pObject, int _var4, int _var0, int _var1, int _var2, int _var3) { while(pObject) { @@ -1461,9 +1461,9 @@ void configureAllObjects(int overlayIdx, cellStruct* pObject, int _var4, int var { if((pObject->backgroundPlane == _var2) || (_var2 == -1)) { - if((pObject->freeze == var1) || (var1 == -1)) + if((pObject->freeze == _var1) || (_var1 == -1)) { - pObject->freeze = var0; + pObject->freeze = _var0; } } } |