From 5dd3798ebf8177d9c21d79d4e36b173568c09a70 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 29 Feb 2016 22:56:16 -0500 Subject: TITANIC: Added a bunch of classes, loading method fixes --- engines/titanic/game/chicken_cooler.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/titanic/game/chicken_cooler.cpp') diff --git a/engines/titanic/game/chicken_cooler.cpp b/engines/titanic/game/chicken_cooler.cpp index feb3b4cade..335ed36fb6 100644 --- a/engines/titanic/game/chicken_cooler.cpp +++ b/engines/titanic/game/chicken_cooler.cpp @@ -26,11 +26,17 @@ namespace Titanic { void CChickenCooler::save(SimpleFile *file, int indent) const { file->writeNumberLine(1, indent); + file->writeNumberLine(_fieldBC, indent); + file->writeNumberLine(_fieldC0, indent); + CGameObject::save(file, indent); } void CChickenCooler::load(SimpleFile *file) { file->readNumber(); + _fieldBC = file->readNumber(); + _fieldC0 = file->readNumber(); + CGameObject::load(file); } -- cgit v1.2.3