mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-15 13:11:32 +00:00
SHERLOCK: Remove a couple of unused variables in inventory
This commit is contained in:
parent
d3f1a76cc8
commit
8d2ec6f9fa
@ -49,8 +49,6 @@ Inventory::Inventory(SherlockEngine *vm) : Common::Array<InventoryItem>(), _vm(v
|
||||
_invGraphicsLoaded = false;
|
||||
_invIndex = 0;
|
||||
_holdings = 0;
|
||||
_oldFlag = 0;
|
||||
_invFlag = 0;
|
||||
_invMode = INVMODE_EXIT;
|
||||
}
|
||||
|
||||
@ -215,7 +213,6 @@ void Inventory::drawInventory(int flag) {
|
||||
UserInterface &ui = *_vm->_ui;
|
||||
int tempFlag = flag;
|
||||
|
||||
_oldFlag = 7;
|
||||
loadInv();
|
||||
|
||||
if (flag == 128) {
|
||||
@ -257,10 +254,8 @@ void Inventory::drawInventory(int flag) {
|
||||
|
||||
if (flag) {
|
||||
ui._oldKey = INVENTORY_COMMANDS[flag];
|
||||
_oldFlag = flag;
|
||||
} else {
|
||||
ui._oldKey = -1;
|
||||
_invFlag = 6;
|
||||
}
|
||||
|
||||
invCommands(0);
|
||||
|
@ -75,8 +75,6 @@ public:
|
||||
int _holdings; // Used to hold number of visible items in active inventory.
|
||||
// Since Inventory array also contains some special hidden items
|
||||
void freeGraphics();
|
||||
int _oldFlag;
|
||||
int _invFlag;
|
||||
public:
|
||||
Inventory(SherlockEngine *vm);
|
||||
~Inventory();
|
||||
|
Loading…
x
Reference in New Issue
Block a user