summaryrefslogtreecommitdiff
path: root/gaunt01/src/testApp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gaunt01/src/testApp.cpp')
-rw-r--r--gaunt01/src/testApp.cpp8
1 files changed, 5 insertions, 3 deletions
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: