aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--taipan.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/taipan.c b/taipan.c
index 4392cff..69a7a84 100644
--- a/taipan.c
+++ b/taipan.c
@@ -3081,7 +3081,7 @@ void name_firm(void) {
#ifdef CART_TARGET
# pragma code-name (push, "HIGHCODE")
#endif
-char what_do_you_wish_me_to(char buy_or_sell) {
+char what_do_you_wish_me_to(char *buy_or_sell) {
gotox0y22();
clrtobot();
// cputs("What ");
@@ -3089,7 +3089,7 @@ char what_do_you_wish_me_to(char buy_or_sell) {
do_you_wish();
// cputs("me to ");
print_msg(M_me_to);
- cputs(buy_or_sell ? "buy" : "sell");
+ cputs(buy_or_sell);
cprint_taipan_prompt();
return get_item(0);
}
@@ -3101,7 +3101,7 @@ void buy(void) {
int choice;
unsigned long afford, amount;
- choice = what_do_you_wish_me_to(1);
+ choice = what_do_you_wish_me_to("buy");
for (;;) {
gotoxy(31, 21);
@@ -3160,7 +3160,7 @@ void sell(void) {
int choice;
unsigned long amount;
- choice = what_do_you_wish_me_to(0);
+ choice = what_do_you_wish_me_to("sell");
for (;;) {
gotox0y22();