From af2a1a33514ae101d1df52e6a978296ed0bef68b Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 7 Jun 2015 19:18:14 -0400 Subject: SHERLOCK: Refactoring, cleanup, and fixes for savegame code --- engines/sherlock/inventory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sherlock/inventory.cpp') diff --git a/engines/sherlock/inventory.cpp b/engines/sherlock/inventory.cpp index a8ecb64102..7fedab8d37 100644 --- a/engines/sherlock/inventory.cpp +++ b/engines/sherlock/inventory.cpp @@ -32,7 +32,7 @@ InventoryItem::InventoryItem(int requiredFlag, const Common::String &name, _examine(examine), _lookFlag(0) { } -void InventoryItem::synchronize(Common::Serializer &s) { +void InventoryItem::synchronize(Serializer &s) { s.syncAsSint16LE(_requiredFlag); s.syncAsSint16LE(_lookFlag); s.syncString(_name); @@ -450,7 +450,7 @@ int Inventory::deleteItemFromInventory(const Common::String &name) { return 1; } -void Inventory::synchronize(Common::Serializer &s) { +void Inventory::synchronize(Serializer &s) { s.syncAsSint16LE(_holdings); uint count = size(); -- cgit v1.2.3