[Fix] Ship purchase with new dialogue.

This commit is contained in:
Allanis 2013-03-23 20:33:20 +00:00
parent 4904fd5d24
commit 3f042a5793

View File

@ -491,7 +491,7 @@ static void shipyard_buy(char* str) {
credits2str(buf, ship->price, 2); credits2str(buf, ship->price, 2);
if(dialogue_YesNo("Are you sure?", if(dialogue_YesNo("Are you sure?",
"Do you really want to spend %s on a new ship?", buf)==0); "Do you really want to spend %s on a new ship?", buf)==0)
return; return;
player_newShip(ship, player->solid->pos.x, player->solid->pos.y, player_newShip(ship, player->solid->pos.x, player->solid->pos.y,