aboutsummaryrefslogtreecommitdiff
path: root/games.c
diff options
context:
space:
mode:
Diffstat (limited to 'games.c')
-rw-r--r--games.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/games.c b/games.c
index a4234ce..41973e6 100644
--- a/games.c
+++ b/games.c
@@ -65,8 +65,17 @@ void global_thermonuclear_war(void)
remove_punct(response);
if(strcmp(response, "yes")==0 || strcmp(response, "y")==0)
{
- targets[num_targets_found]=world[j];
- ++num_targets_found;
+ print_string("\n\nATTEMPTING TO FIRE AT OWN CITY.\nARE YOU SURE (YES OR NO): ");
+ response[0]=0;
+ getnstr(response, 16);
+ allLower(response);
+ remove_punct(response);
+ if(strcmp(response, "yes")==0 || strcmp(response, "y")==0)
+ {
+ print_string("\nTARGET CONFIRMED.\n\n");
+ targets[num_targets_found]=world[j];
+ ++num_targets_found;
+ }
}
}
}