From: Ash Tyndall Date: Sat, 8 Oct 2011 06:05:44 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=59ed896916f5a6e79b004534dcc5b988acd7dcf6;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index c7d5318..9f29cc0 100644 --- a/scene.c +++ b/scene.c @@ -288,7 +288,7 @@ void makeMenu() { int startNum = i*11 - (i-1); int endNum = startNum + 9; if ( i == menuNumber - 1 ) { // We're on the last one - endNum = startNum + 4; + endNum = startNum + 3; } sprintf(name, "%d-%d", startNum, endNum); glutAddSubMenu( name, addObjectSubmenu[i] );