From: John Hodge Date: Fri, 22 Feb 2013 02:03:04 +0000 (+0800) Subject: Client - Allowed menu to cursor onto expensive items (not selectable) X-Git-Url: https://git.ucc.asn.au/?p=tpg%2Fopendispense2.git;a=commitdiff_plain;h=4f9a370c8083cd61186fa6c5fb5955b0f9220317 Client - Allowed menu to cursor onto expensive items (not selectable) --- 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; }