aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--taipan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/taipan.c b/taipan.c
index 3e3be6d..a85ef7f 100644
--- a/taipan.c
+++ b/taipan.c
@@ -30,7 +30,7 @@
/* define this to start the game in the year 1869, with
1000 capacity, 20 guns, and 1 billion cash and bank. */
-// #define TIMEWARP
+#define TIMEWARP
/* define this to start the game in a 99% damaged ship */
// #define ALMOST_DEAD
@@ -2826,7 +2826,7 @@ void sell(void) {
amount = hold_[choice];
}
- if(would_overflow(cash, amount)) {
+ if(would_overflow(cash, amount * price[choice])) {
too_much_cash();
continue;
}