Removed some debugging code

"Show hints" now defaults to FALSE.
This commit is contained in:
Rob Pearce 2008-11-17 03:21:38 +00:00
parent 276c0d89ee
commit 3017337caa
1 changed files with 1 additions and 6 deletions

7
rc.c
View File

@ -334,7 +334,7 @@ int main (int argc, char **argv) {
gamemode = GM_NORM; // default
showhelp = B_TRUE; // default
showhelp = B_FALSE; // default
// try to get hiscores
@ -1146,10 +1146,8 @@ void nextlevel(void) {
/* reset game stats */
if (haspowerupany(PW_PHONE)) {
printf("phone\n");
levelcomplete = LV_CLOUD;
} else {
printf("no phone\n");
levelcomplete = LV_INIT;
levelcompletetime = -1;
}
@ -1218,14 +1216,11 @@ printf("no phone\n");
// remove powerup, phone is a special case
if (haspowerupany(PW_PHONE)) {
printf("skipping it\n");
skiplevels--;
if (skiplevels <= 0) {
printf("fnishedphone\n");
disablepowerups(PW_PHONE);
}
} else {
printf("noone has phone\n");
// lose ALL temp powerups
if (player) losepowerup(player);
if (player2) losepowerup(player2);