(no commit message)
authorAsh Tyndall <[email protected]>
Sat, 8 Oct 2011 06:31:21 +0000 (14:31 +0800)
committerAsh Tyndall <[email protected]>
Sat, 8 Oct 2011 06:31:21 +0000 (14:31 +0800)
scene.c

diff --git a/scene.c b/scene.c
index bd003f5..6fab50e 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -295,7 +295,7 @@ void makeMenu() {
   glutAddMenuEntry("R/G/B/All Light 2", LIGHT_RGBALL_LIGHT_2);\r
 \r
   // Construct add object submenus\r
-  int addObjectMenu = makeSubmenuFromArray( objectMenuEntries, processObjectEvents );\r
+  int addObjectMenu = makeSubmenuFromArray( &objectMenuEntries, processObjectEvents );\r
 \r
   // Construct texture/ground texture submenus\r
 /*  int textureMenuEntries = sizeof(textureMenuEntries) / sizeof(textureMenuEntries[0]);\r

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