(no commit message)
authorAsh Tyndall <[email protected]>
Sat, 8 Oct 2011 04:58:08 +0000 (12:58 +0800)
committerAsh Tyndall <[email protected]>
Sat, 8 Oct 2011 04:58:08 +0000 (12:58 +0800)
scene.c

diff --git a/scene.c b/scene.c
index a1b52b3..c09ac01 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -230,6 +230,10 @@ void makeMenu() {
   int numMenus = objectSize/10 + 1;\r
   int objectSubmenu[numMenus];\r
 \r
+  for( int i = 0; objectSubmenu[i]; i++ ) {\r
+      objectSubmenu[i] = 0;\r
+  }\r
+\r
   // Create the n-(n+10) menus\r
   for ( int i = 0; i < numMenus; i++ ) {\r
 \r

UCC git Repository :: git.ucc.asn.au