From 10444ef5683f420f08cfc276349a5771dd0d04e5 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 3 Dec 2014 01:42:04 +0200 Subject: ZVISION: Use integers for rectangles in the menu code --- engines/zvision/core/menu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') diff --git a/engines/zvision/core/menu.h b/engines/zvision/core/menu.h index 7301323173..ebe0bb50ac 100644 --- a/engines/zvision/core/menu.h +++ b/engines/zvision/core/menu.h @@ -82,7 +82,7 @@ private: int mouseOnItem; bool scrolled[3]; - float scrollPos[3]; + int16 scrollPos[3]; enum { menu_ITEM = 0, @@ -111,7 +111,7 @@ private: int mouseOnItem; bool scrolled; - float scrollPos; + int16 scrollPos; bool redraw; -- cgit v1.2.3