diff options
| author | Franklin Wei <franklin@fwei.ml> | 2015-05-21 18:05:55 -0400 |
|---|---|---|
| committer | Franklin Wei <frankhwei536@gmail.com> | 2015-05-21 18:06:04 -0400 |
| commit | 1d5f45a8c0e339e690fa49e3f5363587d3f7b390 (patch) | |
| tree | 8d960d55d0bcf82e6e7e9ee80519745c1ca76dc4 | |
| parent | c4506cac77a152789a0706b7412e6bcdf9f02121 (diff) | |
| download | market-sim-1d5f45a8c0e339e690fa49e3f5363587d3f7b390.zip market-sim-1d5f45a8c0e339e690fa49e3f5363587d3f7b390.tar.gz market-sim-1d5f45a8c0e339e690fa49e3f5363587d3f7b390.tar.bz2 market-sim-1d5f45a8c0e339e690fa49e3f5363587d3f7b390.tar.xz | |
fixed bug
| -rw-r--r-- | src/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -10,7 +10,6 @@ void quit_handler(struct player_t *player) int main(int argc, char *argv[]) { - atexit(cleanup); curl_global_init(CURL_GLOBAL_DEFAULT); @@ -23,7 +22,7 @@ int main(int argc, char *argv[]) if(args_status & ARG_FAILURE) return EXIT_FAILURE; - if(args_status & ARG_LOADED) + if(!args_status & ARG_LOADED) player->cash.cents = 1000 * 100; while(1) |