mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 17:33:05 +00:00
TSAGE: Initialise the inventory properly in Ringworld 2
This commit is contained in:
parent
32ed9a99e9
commit
fad2923658
@ -350,4 +350,19 @@ bool BlueForceGlobals::removeFlag(int flagNum) {
|
||||
|
||||
} // end of namespace BlueForce
|
||||
|
||||
namespace Ringworld2 {
|
||||
|
||||
void Ringworld2Globals::reset() {
|
||||
Globals::reset();
|
||||
|
||||
// Reset the inventory
|
||||
R2_INVENTORY.reset();
|
||||
T2_GLOBALS._uiElements.updateInventory();
|
||||
T2_GLOBALS._uiElements._active = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
} // end of namespace Ringworld2
|
||||
|
||||
} // end of namespace TsAGE
|
||||
|
@ -241,6 +241,8 @@ namespace Ringworld2 {
|
||||
class Ringworld2Globals: public TsAGE2Globals {
|
||||
public:
|
||||
ASoundExt _sound1, _sound2, _sound3, _sound4;
|
||||
|
||||
virtual void reset();
|
||||
};
|
||||
|
||||
} // End of namespace Ringworld2
|
||||
|
Loading…
x
Reference in New Issue
Block a user