mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-05-03 23:28:00 +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);
|
int32_t select = DisplayRequester(&NewGameRequester);
|
||||||
if (select) {
|
if (select) {
|
||||||
if (select > 0) {
|
if (select > 0) {
|
||||||
PassportMode = 0;
|
|
||||||
InventoryExtraData[1] = select - 1;
|
InventoryExtraData[1] = select - 1;
|
||||||
} else {
|
} else if (InventoryMode != INV_GAME_MODE) {
|
||||||
PassportMode = 0;
|
Input = 0;
|
||||||
|
InputDB = 0;
|
||||||
}
|
}
|
||||||
|
PassportMode = 0;
|
||||||
} else {
|
} else {
|
||||||
Input = 0;
|
Input = 0;
|
||||||
InputDB = 0;
|
InputDB = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue