[Fix] Ship purchase with new dialogue.
This commit is contained in:
parent
4904fd5d24
commit
3f042a5793
@ -491,8 +491,8 @@ 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,
|
||||||
0., 0., player->solid->dir);
|
0., 0., player->solid->dir);
|
||||||
|
Loading…
Reference in New Issue
Block a user