TSAGE: Fix for initialising inventory for new R2R games

This commit is contained in:
Paul Gilbert 2013-09-01 10:03:30 -04:00
parent 587063afba
commit cf7d1378c8

View File

@ -381,6 +381,9 @@ void Ringworld2Globals::reset() {
if (!_scannerDialog)
_scannerDialog = new ScannerDialog();
// Default to Quinn as the active character
T2_GLOBALS._player._characterIndex = R2_QUINN;
// Reset the inventory
R2_INVENTORY.reset();
T2_GLOBALS._uiElements.updateInventory();