diff options
author | Strangerke | 2011-09-05 23:50:30 +0200 |
---|---|---|
committer | Strangerke | 2011-09-05 23:50:30 +0200 |
commit | b75a308bccae32a4fbd28be7ce61410cff050271 (patch) | |
tree | 38a220cecd0ffb7ef58dc6ef671beb7a5dc483e8 /engines/cge/cge_main.cpp | |
parent | 27328f254639a0db8a4d8c26afcfc8b605adf353 (diff) | |
download | scummvm-rg350-b75a308bccae32a4fbd28be7ce61410cff050271.tar.gz scummvm-rg350-b75a308bccae32a4fbd28be7ce61410cff050271.tar.bz2 scummvm-rg350-b75a308bccae32a4fbd28be7ce61410cff050271.zip |
CGE: Replace Couple by Common::Point (thanks Fingolfin for pointing that out)
Diffstat (limited to 'engines/cge/cge_main.cpp')
-rw-r--r-- | engines/cge/cge_main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/cge/cge_main.cpp b/engines/cge/cge_main.cpp index 5ccf681f96..9b1afed245 100644 --- a/engines/cge/cge_main.cpp +++ b/engines/cge/cge_main.cpp @@ -763,8 +763,9 @@ void System::touch(uint16 mask, int x, int y) { if (_horzLine && !_horzLine->_flags._hide) { if (y >= kMapTop && y < kMapTop + kMapHig) { - int8 x1, z1; - XZ(x, y).split(x1, z1); + Cluster tmpCluster = XZ(x, y); + int16 x1 = tmpCluster._pt.x; + int16 z1 = tmpCluster._pt.y; Cluster::_map[z1][x1] = 1; _vm->setMapBrick(x1, z1); } |