From a4f5733330cfcf999d4b2eb2a42ebdc96befa1ac Mon Sep 17 00:00:00 2001 From: Strangerke Date: Fri, 20 Jan 2017 00:43:52 +0100 Subject: CRYO: Fix regression in PC cube rotation --- engines/cryo/eden.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'engines/cryo') diff --git a/engines/cryo/eden.h b/engines/cryo/eden.h index c766d47d82..4f2e653564 100644 --- a/engines/cryo/eden.h +++ b/engines/cryo/eden.h @@ -533,22 +533,21 @@ private: CubeCursor *_pcCursor; - int8 tab1[30]; - int8 tab2[30]; + int16 tab1[30]; + int16 tab2[30]; int8 tab3[36][71]; - short _angleX, _angleY, _angleZ, _zoomZ, _zoomZStep; + int16 _angleX, _angleY, _angleZ, _zoomZ, _zoomZStep; int8 *_cosX, *_sinX; int8 *_cosY, *_sinY; int8 *_cosZ, *_sinZ; uint8 *_face[6], *_newface[6]; - int8 _faceSkip; + int16 _faceSkip; uint8 _cursor[40 * 40]; uint8 *_cursorCenter; - private: int16 _scrollPos; int16 _oldScrollPos; -- cgit v1.2.3