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