From: Ryan Flegel Date: Fri, 14 May 2004 05:14:30 +0000 (+0000) Subject: - uncomment crash fix that was accidentally commented X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=2406915f9b85c95165bf92238fdfc215c04c74c6;p=supertux.git - uncomment crash fix that was accidentally commented SVN-Revision: 1170 --- diff --git a/src/menu.cpp b/src/menu.cpp index 8b161641d..1de8a7ff4 100644 --- a/src/menu.cpp +++ b/src/menu.cpp @@ -490,8 +490,8 @@ Menu::action() menuaction = MENU_ACTION_NONE; - //if (active_item >= int(item.size())) - // active_item = int(item.size()) - 1; + if (active_item >= int(item.size())) + active_item = int(item.size()) - 1; } int