Removed some debugging code
"Show hints" now defaults to FALSE.
This commit is contained in:
parent
276c0d89ee
commit
3017337caa
7
rc.c
7
rc.c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue