aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/chicken_cooler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/game/chicken_cooler.cpp')
-rw-r--r--engines/titanic/game/chicken_cooler.cpp6
1 files changed, 6 insertions, 0 deletions
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);
}