aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/snail.cpp
diff options
context:
space:
mode:
authorStrangerke2011-09-06 00:16:07 +0200
committerStrangerke2011-09-06 00:16:07 +0200
commitd7695542cdd486dbb29e3cc7d0bc8c317760d185 (patch)
tree9764e3528c48f8a766b8f80f7421f0585dd0239c /engines/cge/snail.cpp
parentb75a308bccae32a4fbd28be7ce61410cff050271 (diff)
downloadscummvm-rg350-d7695542cdd486dbb29e3cc7d0bc8c317760d185.tar.gz
scummvm-rg350-d7695542cdd486dbb29e3cc7d0bc8c317760d185.tar.bz2
scummvm-rg350-d7695542cdd486dbb29e3cc7d0bc8c317760d185.zip
CGE: Remove various defines and functions from "general"
Those were already present in ScummVM (thanks Fingolfin for point out)
Diffstat (limited to 'engines/cge/snail.cpp')
-rw-r--r--engines/cge/snail.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/cge/snail.cpp b/engines/cge/snail.cpp
index bffbe7c628..2d15b61d97 100644
--- a/engines/cge/snail.cpp
+++ b/engines/cge/snail.cpp
@@ -587,10 +587,10 @@ void CGEEngine::snSwap(Sprite *spr, int xref) {
bool was1 = (was == 0 || was == _now);
bool xwas1 = (xwas == 0 || xwas == _now);
- swap(spr->_cave, xspr->_cave);
- swap(spr->_x, xspr->_x);
- swap(spr->_y, xspr->_y);
- swap(spr->_z, xspr->_z);
+ SWAP(spr->_cave, xspr->_cave);
+ SWAP(spr->_x, xspr->_x);
+ SWAP(spr->_y, xspr->_y);
+ SWAP(spr->_z, xspr->_z);
if (spr->_flags._kept) {
int n = findPocket(spr);
if (n >= 0)