aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/pet_control')
-rw-r--r--engines/titanic/pet_control/pet_control.cpp4
-rw-r--r--engines/titanic/pet_control/pet_control.h4
-rw-r--r--engines/titanic/pet_control/pet_conversations.cpp2
-rw-r--r--engines/titanic/pet_control/pet_conversations.h2
-rw-r--r--engines/titanic/pet_control/pet_drag_chev.cpp2
-rw-r--r--engines/titanic/pet_control/pet_drag_chev.h2
-rw-r--r--engines/titanic/pet_control/pet_graphic.cpp2
-rw-r--r--engines/titanic/pet_control/pet_graphic.h2
-rw-r--r--engines/titanic/pet_control/pet_graphic2.cpp2
-rw-r--r--engines/titanic/pet_control/pet_graphic2.h2
-rw-r--r--engines/titanic/pet_control/pet_inventory.cpp2
-rw-r--r--engines/titanic/pet_control/pet_inventory.h2
-rw-r--r--engines/titanic/pet_control/pet_leaf.cpp2
-rw-r--r--engines/titanic/pet_control/pet_leaf.h2
-rw-r--r--engines/titanic/pet_control/pet_message.h2
-rw-r--r--engines/titanic/pet_control/pet_mode_off.cpp2
-rw-r--r--engines/titanic/pet_control/pet_mode_off.h2
-rw-r--r--engines/titanic/pet_control/pet_mode_on.cpp2
-rw-r--r--engines/titanic/pet_control/pet_mode_on.h2
-rw-r--r--engines/titanic/pet_control/pet_mode_panel.cpp2
-rw-r--r--engines/titanic/pet_control/pet_mode_panel.h2
-rw-r--r--engines/titanic/pet_control/pet_pannel1.cpp2
-rw-r--r--engines/titanic/pet_control/pet_pannel1.h2
-rw-r--r--engines/titanic/pet_control/pet_pannel2.cpp2
-rw-r--r--engines/titanic/pet_control/pet_pannel2.h2
-rw-r--r--engines/titanic/pet_control/pet_pannel3.cpp2
-rw-r--r--engines/titanic/pet_control/pet_pannel3.h2
-rw-r--r--engines/titanic/pet_control/pet_real_life.h2
-rw-r--r--engines/titanic/pet_control/pet_rooms.cpp2
-rw-r--r--engines/titanic/pet_control/pet_rooms.h2
-rw-r--r--engines/titanic/pet_control/pet_rooms_glyphs.cpp4
-rw-r--r--engines/titanic/pet_control/pet_rooms_glyphs.h4
-rw-r--r--engines/titanic/pet_control/pet_section.h2
-rw-r--r--engines/titanic/pet_control/pet_starfield.cpp2
-rw-r--r--engines/titanic/pet_control/pet_starfield.h2
-rw-r--r--engines/titanic/pet_control/pet_text.cpp2
-rw-r--r--engines/titanic/pet_control/pet_text.h2
37 files changed, 41 insertions, 41 deletions
diff --git a/engines/titanic/pet_control/pet_control.cpp b/engines/titanic/pet_control/pet_control.cpp
index 6e30711397..0695cdea79 100644
--- a/engines/titanic/pet_control/pet_control.cpp
+++ b/engines/titanic/pet_control/pet_control.cpp
@@ -55,7 +55,7 @@ CPetControl::CPetControl() : CGameObject(),
_sections[PET_MESSAGE] = &_message;
}
-void CPetControl::save(SimpleFile *file, int indent) const {
+void CPetControl::save(SimpleFile *file, int indent) {
file->writeNumberLine(0, indent);
file->writeNumberLine(_currentArea, indent);
file->writeQuotedLine(_activeNPCName, indent);
@@ -113,7 +113,7 @@ void CPetControl::loadAreas(SimpleFile *file, int param) {
_frame.load(file, param);
}
-void CPetControl::saveAreas(SimpleFile *file, int indent) const {
+void CPetControl::saveAreas(SimpleFile *file, int indent) {
_conversations.save(file, indent);
_rooms.save(file, indent);
_remote.save(file, indent);
diff --git a/engines/titanic/pet_control/pet_control.h b/engines/titanic/pet_control/pet_control.h
index 75b92d734e..e56d8f8f90 100644
--- a/engines/titanic/pet_control/pet_control.h
+++ b/engines/titanic/pet_control/pet_control.h
@@ -81,7 +81,7 @@ private:
/**
* Saves data for the individual areas
*/
- void saveAreas(SimpleFile *file, int indent) const;
+ void saveAreas(SimpleFile *file, int indent);
/**
* Called at the end of the post game-load handling
@@ -125,7 +125,7 @@ public:
/**
* Save the data for the class to file
*/
- virtual void save(SimpleFile *file, int indent) const;
+ virtual void save(SimpleFile *file, int indent);
/**
* Load the data for the class from file
diff --git a/engines/titanic/pet_control/pet_conversations.cpp b/engines/titanic/pet_control/pet_conversations.cpp
index f9c051a883..0a8a71bf94 100644
--- a/engines/titanic/pet_control/pet_conversations.cpp
+++ b/engines/titanic/pet_control/pet_conversations.cpp
@@ -230,7 +230,7 @@ void CPetConversations::postLoad() {
reset();
}
-void CPetConversations::save(SimpleFile *file, int indent) const {
+void CPetConversations::save(SimpleFile *file, int indent) {
_textInput.save(file, indent);
_log.save(file, indent);
diff --git a/engines/titanic/pet_control/pet_conversations.h b/engines/titanic/pet_control/pet_conversations.h
index 51487e1ff4..62cddd4008 100644
--- a/engines/titanic/pet_control/pet_conversations.h
+++ b/engines/titanic/pet_control/pet_conversations.h
@@ -194,7 +194,7 @@ public:
/**
* Save the data for the class to file
*/
- virtual void save(SimpleFile *file, int indent) const;
+ virtual void save(SimpleFile *file, int indent);
/**
* Called when a section is switched to
diff --git a/engines/titanic/pet_control/pet_drag_chev.cpp b/engines/titanic/pet_control/pet_drag_chev.cpp
index e6c4749123..beaac4e763 100644
--- a/engines/titanic/pet_control/pet_drag_chev.cpp
+++ b/engines/titanic/pet_control/pet_drag_chev.cpp
@@ -31,7 +31,7 @@ BEGIN_MESSAGE_MAP(CPetDragChev, CPetGraphic2)
END_MESSAGE_MAP()
-void CPetDragChev::save(SimpleFile *file, int indent) const {
+void CPetDragChev::save(SimpleFile *file, int indent) {
file->writeNumberLine(1, indent);
CPetGraphic2::save(file, indent);
}
diff --git a/engines/titanic/pet_control/pet_drag_chev.h b/engines/titanic/pet_control/pet_drag_chev.h
index 4e671ceff2..1ca9788f5b 100644
--- a/engines/titanic/pet_control/pet_drag_chev.h
+++ b/engines/titanic/pet_control/pet_drag_chev.h
@@ -39,7 +39,7 @@ public:
/**
* Save the data for the class to file
*/
- virtual void save(SimpleFile *file, int indent) const;
+ virtual void save(SimpleFile *file, int indent);
/**
* Load the data for the class from file
diff --git a/engines/titanic/pet_control/pet_graphic.cpp b/engines/titanic/pet_control/pet_graphic.cpp
index 25a77397c3..c4e184990a 100644
--- a/engines/titanic/pet_control/pet_graphic.cpp
+++ b/engines/titanic/pet_control/pet_graphic.cpp
@@ -26,7 +26,7 @@ namespace Titanic {
EMPTY_MESSAGE_MAP(CPetGraphic, CGameObject)
-void CPetGraphic::save(SimpleFile *file, int indent) const {
+void CPetGraphic::save(SimpleFile *file, int indent) {
file->writeNumberLine(1, indent);
CGameObject::save(file, indent);
}
diff --git a/engines/titanic/pet_control/pet_graphic.h b/engines/titanic/pet_control/pet_graphic.h
index d49d0d4a1a..34badfd8a5 100644
--- a/engines/titanic/pet_control/pet_graphic.h
+++ b/engines/titanic/pet_control/pet_graphic.h
@@ -35,7 +35,7 @@ public:
/**
* Save the data for the class to file
*/
- virtual void save(SimpleFile *file, int indent) const;
+ virtual void save(SimpleFile *file, int indent);
/**
* Load the data for the class from file
diff --git a/engines/titanic/pet_control/pet_graphic2.cpp b/engines/titanic/pet_control/pet_graphic2.cpp
index a33a1c7d93..79cf42eeb0 100644
--- a/engines/titanic/pet_control/pet_graphic2.cpp
+++ b/engines/titanic/pet_control/pet_graphic2.cpp
@@ -26,7 +26,7 @@ namespace Titanic {
EMPTY_MESSAGE_MAP(CPetGraphic2, CGameObject)
-void CPetGraphic2::save(SimpleFile *file, int indent) const {
+void CPetGraphic2::save(SimpleFile *file, int indent) {
file->writeNumberLine(1, indent);
CGameObject::save(file, indent);
}
diff --git a/engines/titanic/pet_control/pet_graphic2.h b/engines/titanic/pet_control/pet_graphic2.h
index d10dd102a0..4e77662a82 100644
--- a/engines/titanic/pet_control/pet_graphic2.h
+++ b/engines/titanic/pet_control/pet_graphic2.h
@@ -35,7 +35,7 @@ public:
/**
* Save the data for the class to file
*/
- virtual void save(SimpleFile *file, int indent) const;
+ virtual void save(SimpleFile *file, int indent);
/**
* Load the data for the class from file
diff --git a/engines/titanic/pet_control/pet_inventory.cpp b/engines/titanic/pet_control/pet_inventory.cpp
index 62eee83667..2f8125cfac 100644
--- a/engines/titanic/pet_control/pet_inventory.cpp
+++ b/engines/titanic/pet_control/pet_inventory.cpp
@@ -114,7 +114,7 @@ void CPetInventory::postLoad() {
_field290 = 0;
}
-void CPetInventory::save(SimpleFile *file, int indent) const {
+void CPetInventory::save(SimpleFile *file, int indent) {
file->writeNumberLine(_field298, indent);
}
diff --git a/engines/titanic/pet_control/pet_inventory.h b/engines/titanic/pet_control/pet_inventory.h
index 8a6bcebd9f..9e074dd89b 100644
--- a/engines/titanic/pet_control/pet_inventory.h
+++ b/engines/titanic/pet_control/pet_inventory.h
@@ -119,7 +119,7 @@ public:
/**
* Save the data for the class to file
*/
- virtual void save(SimpleFile *file, int indent) const;
+ virtual void save(SimpleFile *file, int indent);
/**
* Called when a section is switched to
diff --git a/engines/titanic/pet_control/pet_leaf.cpp b/engines/titanic/pet_control/pet_leaf.cpp
index 833f4ed8b9..bf40b6ca5c 100644
--- a/engines/titanic/pet_control/pet_leaf.cpp
+++ b/engines/titanic/pet_control/pet_leaf.cpp
@@ -26,7 +26,7 @@ namespace Titanic {
EMPTY_MESSAGE_MAP(PETLeaf, CGameObject)
-void PETLeaf::save(SimpleFile *file, int indent) const {
+void PETLeaf::save(SimpleFile *file, int indent) {
file->writeNumberLine(1, indent);
CGameObject::save(file, indent);
}
diff --git a/engines/titanic/pet_control/pet_leaf.h b/engines/titanic/pet_control/pet_leaf.h
index b9c516f6cb..0d187423ff 100644
--- a/engines/titanic/pet_control/pet_leaf.h
+++ b/engines/titanic/pet_control/pet_leaf.h
@@ -35,7 +35,7 @@ public:
/**
* Save the data for the class to file
*/
- virtual void save(SimpleFile *file, int indent) const;
+ virtual void save(SimpleFile *file, int indent);
/**
* Load the data for the class from file
diff --git a/engines/titanic/pet_control/pet_message.h b/engines/titanic/pet_control/pet_message.h
index 1ad031da65..499f274c54 100644
--- a/engines/titanic/pet_control/pet_message.h
+++ b/engines/titanic/pet_control/pet_message.h
@@ -82,7 +82,7 @@ public:
/**
* Save the data for the class to file
*/
- virtual void save(SimpleFile *file, int indent) const {}
+ virtual void save(SimpleFile *file, int indent) {}
/**
* Get a reference to the tooltip text associated with the section
diff --git a/engines/titanic/pet_control/pet_mode_off.cpp b/engines/titanic/pet_control/pet_mode_off.cpp
index a1c9f3dd34..277b8e5eac 100644
--- a/engines/titanic/pet_control/pet_mode_off.cpp
+++ b/engines/titanic/pet_control/pet_mode_off.cpp
@@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CPetModeOff, CToggleSwitch)
CPetModeOff::CPetModeOff() : CToggleSwitch() {
}
-void CPetModeOff::save(SimpleFile *file, int indent) const {
+void CPetModeOff::save(SimpleFile *file, int indent) {
file->writeNumberLine(1, indent);
CToggleSwitch::save(file, indent);
}
diff --git a/engines/titanic/pet_control/pet_mode_off.h b/engines/titanic/pet_control/pet_mode_off.h
index a84ed30480..0a4851ad72 100644
--- a/engines/titanic/pet_control/pet_mode_off.h
+++ b/engines/titanic/pet_control/pet_mode_off.h
@@ -36,7 +36,7 @@ public:
/**
* Save the data for the class to file
*/
- virtual void save(SimpleFile *file, int indent) const;
+ virtual void save(SimpleFile *file, int indent);
/**
* Load the data for the class from file
diff --git a/engines/titanic/pet_control/pet_mode_on.cpp b/engines/titanic/pet_control/pet_mode_on.cpp
index 1a7c2c26e7..89845dc49a 100644
--- a/engines/titanic/pet_control/pet_mode_on.cpp
+++ b/engines/titanic/pet_control/pet_mode_on.cpp
@@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CPetModeOn, CToggleSwitch)
CPetModeOn::CPetModeOn() : CToggleSwitch() {
}
-void CPetModeOn::save(SimpleFile *file, int indent) const {
+void CPetModeOn::save(SimpleFile *file, int indent) {
file->writeNumberLine(1, indent);
CToggleSwitch::save(file, indent);
}
diff --git a/engines/titanic/pet_control/pet_mode_on.h b/engines/titanic/pet_control/pet_mode_on.h
index 76e0c92607..d33a0d2829 100644
--- a/engines/titanic/pet_control/pet_mode_on.h
+++ b/engines/titanic/pet_control/pet_mode_on.h
@@ -36,7 +36,7 @@ public:
/**
* Save the data for the class to file
*/
- virtual void save(SimpleFile *file, int indent) const;
+ virtual void save(SimpleFile *file, int indent);
/**
* Load the data for the class from file
diff --git a/engines/titanic/pet_control/pet_mode_panel.cpp b/engines/titanic/pet_control/pet_mode_panel.cpp
index 87351bed24..1384602183 100644
--- a/engines/titanic/pet_control/pet_mode_panel.cpp
+++ b/engines/titanic/pet_control/pet_mode_panel.cpp
@@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CPetModePanel, CToggleSwitch)
CPetModePanel::CPetModePanel() : CToggleSwitch() {
}
-void CPetModePanel::save(SimpleFile *file, int indent) const {
+void CPetModePanel::save(SimpleFile *file, int indent) {
file->writeNumberLine(1, indent);
CToggleSwitch::save(file, indent);
}
diff --git a/engines/titanic/pet_control/pet_mode_panel.h b/engines/titanic/pet_control/pet_mode_panel.h
index b55f38a6ff..17ce48d8b8 100644
--- a/engines/titanic/pet_control/pet_mode_panel.h
+++ b/engines/titanic/pet_control/pet_mode_panel.h
@@ -36,7 +36,7 @@ public:
/**
* Save the data for the class to file
*/
- virtual void save(SimpleFile *file, int indent) const;
+ virtual void save(SimpleFile *file, int indent);
/**
* Load the data for the class from file
diff --git a/engines/titanic/pet_control/pet_pannel1.cpp b/engines/titanic/pet_control/pet_pannel1.cpp
index 527841f883..9906212b4b 100644
--- a/engines/titanic/pet_control/pet_pannel1.cpp
+++ b/engines/titanic/pet_control/pet_pannel1.cpp
@@ -26,7 +26,7 @@ namespace Titanic {
EMPTY_MESSAGE_MAP(CPetPannel1, CPetGraphic)
-void CPetPannel1::save(SimpleFile *file, int indent) const {
+void CPetPannel1::save(SimpleFile *file, int indent) {
file->writeNumberLine(1, indent);
CPetGraphic::save(file, indent);
}
diff --git a/engines/titanic/pet_control/pet_pannel1.h b/engines/titanic/pet_control/pet_pannel1.h
index 4e145363d4..c81d451d50 100644
--- a/engines/titanic/pet_control/pet_pannel1.h
+++ b/engines/titanic/pet_control/pet_pannel1.h
@@ -35,7 +35,7 @@ public:
/**
* Save the data for the class to file
*/
- virtual void save(SimpleFile *file, int indent) const;
+ virtual void save(SimpleFile *file, int indent);
/**
* Load the data for the class from file
diff --git a/engines/titanic/pet_control/pet_pannel2.cpp b/engines/titanic/pet_control/pet_pannel2.cpp
index 48675a7384..b67e0edfcd 100644
--- a/engines/titanic/pet_control/pet_pannel2.cpp
+++ b/engines/titanic/pet_control/pet_pannel2.cpp
@@ -26,7 +26,7 @@ namespace Titanic {
EMPTY_MESSAGE_MAP(CPetPannel2, CPetGraphic)
-void CPetPannel2::save(SimpleFile *file, int indent) const {
+void CPetPannel2::save(SimpleFile *file, int indent) {
file->writeNumberLine(1, indent);
CPetGraphic::save(file, indent);
}
diff --git a/engines/titanic/pet_control/pet_pannel2.h b/engines/titanic/pet_control/pet_pannel2.h
index b32e10e0db..404dd88be5 100644
--- a/engines/titanic/pet_control/pet_pannel2.h
+++ b/engines/titanic/pet_control/pet_pannel2.h
@@ -35,7 +35,7 @@ public:
/**
* Save the data for the class to file
*/
- virtual void save(SimpleFile *file, int indent) const;
+ virtual void save(SimpleFile *file, int indent);
/**
* Load the data for the class from file
diff --git a/engines/titanic/pet_control/pet_pannel3.cpp b/engines/titanic/pet_control/pet_pannel3.cpp
index a0b693872a..a2a1fbedf9 100644
--- a/engines/titanic/pet_control/pet_pannel3.cpp
+++ b/engines/titanic/pet_control/pet_pannel3.cpp
@@ -26,7 +26,7 @@ namespace Titanic {
EMPTY_MESSAGE_MAP(CPetPannel3, CPetGraphic)
-void CPetPannel3::save(SimpleFile *file, int indent) const {
+void CPetPannel3::save(SimpleFile *file, int indent) {
file->writeNumberLine(1, indent);
CPetGraphic::save(file, indent);
}
diff --git a/engines/titanic/pet_control/pet_pannel3.h b/engines/titanic/pet_control/pet_pannel3.h
index f80456f006..addf6144eb 100644
--- a/engines/titanic/pet_control/pet_pannel3.h
+++ b/engines/titanic/pet_control/pet_pannel3.h
@@ -35,7 +35,7 @@ public:
/**
* Save the data for the class to file
*/
- virtual void save(SimpleFile *file, int indent) const;
+ virtual void save(SimpleFile *file, int indent);
/**
* Load the data for the class from file
diff --git a/engines/titanic/pet_control/pet_real_life.h b/engines/titanic/pet_control/pet_real_life.h
index d049d47913..a4ae67fa6b 100644
--- a/engines/titanic/pet_control/pet_real_life.h
+++ b/engines/titanic/pet_control/pet_real_life.h
@@ -109,7 +109,7 @@ public:
/**
* Save the data for the class to file
*/
- virtual void save(SimpleFile *file, int indent) const {}
+ virtual void save(SimpleFile *file, int indent) {}
/**
* Called when a section is switched to
diff --git a/engines/titanic/pet_control/pet_rooms.cpp b/engines/titanic/pet_control/pet_rooms.cpp
index fb7cb2bad8..2d731130e9 100644
--- a/engines/titanic/pet_control/pet_rooms.cpp
+++ b/engines/titanic/pet_control/pet_rooms.cpp
@@ -148,7 +148,7 @@ void CPetRooms::postLoad() {
reset();
}
-void CPetRooms::save(SimpleFile *file, int indent) const {
+void CPetRooms::save(SimpleFile *file, int indent) {
_glyphs.saveGlyphs(file, indent);
_glyphItem.saveGlyph(file, indent);
file->writeNumberLine(_floorNum, indent);
diff --git a/engines/titanic/pet_control/pet_rooms.h b/engines/titanic/pet_control/pet_rooms.h
index 64fd0168bc..b82b42ca8b 100644
--- a/engines/titanic/pet_control/pet_rooms.h
+++ b/engines/titanic/pet_control/pet_rooms.h
@@ -125,7 +125,7 @@ public:
/**
* Save the data for the class to file
*/
- virtual void save(SimpleFile *file, int indent) const;
+ virtual void save(SimpleFile *file, int indent);
/**
* Called when a section is switched to
diff --git a/engines/titanic/pet_control/pet_rooms_glyphs.cpp b/engines/titanic/pet_control/pet_rooms_glyphs.cpp
index 864ae2ee39..5de814af24 100644
--- a/engines/titanic/pet_control/pet_rooms_glyphs.cpp
+++ b/engines/titanic/pet_control/pet_rooms_glyphs.cpp
@@ -166,7 +166,7 @@ void CPetRoomsGlyph::getTooltip(CPetText *text) {
text->setText(roomStr);
}
-void CPetRoomsGlyph::saveGlyph(SimpleFile *file, int indent) const {
+void CPetRoomsGlyph::saveGlyph(SimpleFile *file, int indent) {
file->writeNumberLine(_roomFlags, indent);
file->writeNumberLine(_mode, indent);
}
@@ -227,7 +227,7 @@ void CPetRoomsGlyph::drawObjects(uint flags, const Point &pt, CScreenManager *sc
/*------------------------------------------------------------------------*/
-void CPetRoomsGlyphs::saveGlyphs(SimpleFile *file, int indent) const {
+void CPetRoomsGlyphs::saveGlyphs(SimpleFile *file, int indent) {
file->writeNumberLine(size(), indent);
for (const_iterator i = begin(); i != end(); ++i)
diff --git a/engines/titanic/pet_control/pet_rooms_glyphs.h b/engines/titanic/pet_control/pet_rooms_glyphs.h
index f0c2ce0133..5d0fec84f8 100644
--- a/engines/titanic/pet_control/pet_rooms_glyphs.h
+++ b/engines/titanic/pet_control/pet_rooms_glyphs.h
@@ -93,7 +93,7 @@ public:
/**
* Saves the data for the glyph
*/
- virtual void saveGlyph(SimpleFile *file, int indent) const;
+ virtual void saveGlyph(SimpleFile *file, int indent);
virtual bool proc33(CPetGlyph *glyph);
@@ -143,7 +143,7 @@ public:
/**
* Save the list
*/
- void saveGlyphs(SimpleFile *file, int indent) const;
+ void saveGlyphs(SimpleFile *file, int indent);
/**
* Returns the glyph for hte player's assigned room
diff --git a/engines/titanic/pet_control/pet_section.h b/engines/titanic/pet_control/pet_section.h
index 3673d4dfcc..4047ab03de 100644
--- a/engines/titanic/pet_control/pet_section.h
+++ b/engines/titanic/pet_control/pet_section.h
@@ -142,7 +142,7 @@ public:
/**
* Save the data for the class to file
*/
- virtual void save(SimpleFile *file, int indent) const {}
+ virtual void save(SimpleFile *file, int indent) {}
/**
* Called when a section is switched to
diff --git a/engines/titanic/pet_control/pet_starfield.cpp b/engines/titanic/pet_control/pet_starfield.cpp
index cde512c681..35ef943f54 100644
--- a/engines/titanic/pet_control/pet_starfield.cpp
+++ b/engines/titanic/pet_control/pet_starfield.cpp
@@ -132,7 +132,7 @@ void CPetStarfield::postLoad() {
reset();
}
-void CPetStarfield::save(SimpleFile *file, int indent) const {
+void CPetStarfield::save(SimpleFile *file, int indent) {
file->writeNumberLine(_photoOn, indent);
file->writeNumberLine(_hasReference, indent);
}
diff --git a/engines/titanic/pet_control/pet_starfield.h b/engines/titanic/pet_control/pet_starfield.h
index ec659ccb31..9550e0acf9 100644
--- a/engines/titanic/pet_control/pet_starfield.h
+++ b/engines/titanic/pet_control/pet_starfield.h
@@ -102,7 +102,7 @@ public:
/**
* Save the data for the class to file
*/
- virtual void save(SimpleFile *file, int indent) const;
+ virtual void save(SimpleFile *file, int indent);
/**
* Sets the offsets for each of the buttons
diff --git a/engines/titanic/pet_control/pet_text.cpp b/engines/titanic/pet_control/pet_text.cpp
index fa7441c988..983d35ebe5 100644
--- a/engines/titanic/pet_control/pet_text.cpp
+++ b/engines/titanic/pet_control/pet_text.cpp
@@ -108,7 +108,7 @@ void CPetText::load(SimpleFile *file, int param) {
}
}
-void CPetText::save(SimpleFile *file, int indent) const {
+void CPetText::save(SimpleFile *file, int indent) {
int numLines = _lineCount + 1;
file->writeNumberLine(_array.size(), indent);
diff --git a/engines/titanic/pet_control/pet_text.h b/engines/titanic/pet_control/pet_text.h
index 2a6e24ddb8..f5d4235690 100644
--- a/engines/titanic/pet_control/pet_text.h
+++ b/engines/titanic/pet_control/pet_text.h
@@ -108,7 +108,7 @@ public:
/**
* Save the data for the control
*/
- void save(SimpleFile *file, int indent) const;
+ void save(SimpleFile *file, int indent);
/**
* Set the bounds for the control