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);