From 4f9a370c8083cd61186fa6c5fb5955b0f9220317 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Fri, 22 Feb 2013 10:03:04 +0800 Subject: [PATCH] Client - Allowed menu to cursor onto expensive items (not selectable) --- src/client/menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/menu.c b/src/client/menu.c index 8e57b06..f30e480 100644 --- a/src/client/menu.c +++ b/src/client/menu.c @@ -360,8 +360,8 @@ int ShowItemAt(int Row, int Col, int Width, int Index, int bHilighted) } // If the item isn't availiable for sale, return -1 (so it's skipped) - if( status || (price > giUserBalance && gbDisallowSelectWithoutBalance) ) - Index = -1; + if( status > 0 || (price > giUserBalance && gbDisallowSelectWithoutBalance) ) + Index = -2; return Index; } -- 2.20.1