From 3f042a5793976e9b35db0d54a4333a9da6d03490 Mon Sep 17 00:00:00 2001 From: Allanis Date: Sat, 23 Mar 2013 20:33:20 +0000 Subject: [PATCH] [Fix] Ship purchase with new dialogue. --- src/land.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/land.c b/src/land.c index 0a6b630..4f41ccb 100644 --- a/src/land.c +++ b/src/land.c @@ -491,8 +491,8 @@ static void shipyard_buy(char* str) { credits2str(buf, ship->price, 2); if(dialogue_YesNo("Are you sure?", - "Do you really want to spend %s on a new ship?", buf)==0); - return; + "Do you really want to spend %s on a new ship?", buf)==0) + return; player_newShip(ship, player->solid->pos.x, player->solid->pos.y, 0., 0., player->solid->dir);