SHERLOCK: Fix saving and display of inventory items

This commit is contained in:
Paul Gilbert 2015-04-25 04:42:15 -05:00
parent eb91c01cf1
commit 2379824e32
4 changed files with 23 additions and 5 deletions

View file

@ -366,6 +366,7 @@ Common::String SaveManager::generateSaveName(int slot) {
* Synchronize the data for a savegame
*/
void SaveManager::synchronize(Common::Serializer &s) {
Inventory &inv = *_vm->_inventory;
Journal &journal = *_vm->_journal;
People &people = *_vm->_people;
Scene &scene = *_vm->_scene;
@ -374,6 +375,7 @@ void SaveManager::synchronize(Common::Serializer &s) {
int oldFont = screen.fontNumber();
inv.synchronize(s);
journal.synchronize(s);
people.synchronize(s);
scene.synchronize(s);