Update of /cvsroot/super-tux/supertux/lib/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22752/lib/gui
Modified Files:
menu.cpp
Log Message:
Improved collision detection by taking movement into account. Fixed long standing bug where returning from bonuslevel to mainmenu and going back to bonuslevels makes supertux crash
Index: menu.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/lib/gui/menu.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- menu.cpp 18 Nov 2004 15:09:53 -0000 1.16
+++ menu.cpp 24 Nov 2004 03:42:56 -0000 1.17
@@ -347,6 +347,7 @@
Menu::clear()
{
item.clear();
+ active_item = 0;
}
/* Process actions done on the menu */
|