From 63a6974eac15fb804adc5790163049223947fac7 Mon Sep 17 00:00:00 2001 From: "git@eclectronics.org" Date: Wed, 25 Jul 2012 08:44:42 +0100 Subject: tiny bug in trapdoor position --- gaunt01/src/testApp.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'gaunt01/src/testApp.cpp') diff --git a/gaunt01/src/testApp.cpp b/gaunt01/src/testApp.cpp index 8fe42cc..810ef0a 100644 --- a/gaunt01/src/testApp.cpp +++ b/gaunt01/src/testApp.cpp @@ -159,9 +159,10 @@ void testApp::setup(){ doorsounds[3].loadSound("voice falling down hole.wav"); cam.begin(); - cam.end(); - updatePlane(); + + + cam.end(); } @@ -801,7 +802,8 @@ void testApp::draw(){ if (gameTime>segTimes[gameState]) { gameState++; gameStart=ofGetElapsedTimef(); - gameTime=0.0f; + gameTime=0.0f; + updatePlane(); } break; case PLAYING: -- cgit v1.2.3