aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-03-25 02:41:54 +0000
committerGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-03-25 02:41:54 +0000
commitfc8c1e6b20af4deb3fe755d776216d040a1621d2 (patch)
tree78e4041142f3b41a72eb493c7aee2bff6a4b6c32 /main.cpp
parent7ab234b959f75aa6d063b61f8e2a98adf19f2ee6 (diff)
downloadbullet-lab-remix-fc8c1e6b20af4deb3fe755d776216d040a1621d2.tar.xz
Fix bugs in score file. Preparing for assessment mode.
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 14f7e51..a9ed4c8 100644
--- a/main.cpp
+++ b/main.cpp
@@ -362,7 +362,7 @@ void RefreshScore()
void CallLevels()
{
//Use this to call level procedures.
- if ((mode==4||mode<=2)&&coll!=0){DeathGUI_Init();return;}
+ if ((mode==1)&&coll!=0){DeathGUI_Init();return;}
if (!IfCallLevel) return;
//Check Complete here
if (level==1&&part==0)Level1Part0();
@@ -554,6 +554,7 @@ void CallLevels()
if(mode==1&&restarts>2){CompleteGUI_Init();return;}
level=-1,part=0;
}
+ if (level==-1&&part==22){CompleteGUI_Init();return;}
}
bool ProcessCurCred()
{