keep passport open when canceling mode selection

This commit is contained in:
rr- 2021-03-09 23:00:43 +01:00
parent f1d1cece44
commit 7e958b6788

View file

@ -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;