From b75a308bccae32a4fbd28be7ce61410cff050271 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Mon, 5 Sep 2011 23:50:30 +0200 Subject: CGE: Replace Couple by Common::Point (thanks Fingolfin for pointing that out) --- engines/cge/cge_main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'engines/cge/cge_main.cpp') 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); } -- cgit v1.2.3