mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-05-02 14:47:58 +03:00
keep passport open when canceling mode selection
This commit is contained in:
parent
f1d1cece44
commit
7e958b6788
1 changed files with 4 additions and 3 deletions
|
@ -194,11 +194,12 @@ void DoPassportOption(INVENTORY_ITEM *inv_item)
|
|||
int32_t select = DisplayRequester(&NewGameRequester);
|
||||
if (select) {
|
||||
if (select > 0) {
|
||||
PassportMode = 0;
|
||||
InventoryExtraData[1] = select - 1;
|
||||
} else {
|
||||
PassportMode = 0;
|
||||
} else if (InventoryMode != INV_GAME_MODE) {
|
||||
Input = 0;
|
||||
InputDB = 0;
|
||||
}
|
||||
PassportMode = 0;
|
||||
} else {
|
||||
Input = 0;
|
||||
InputDB = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue