aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/people.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-07-25 17:26:56 -0400
committerPaul Gilbert2015-07-25 17:26:56 -0400
commite754adbf776c9c591772090f59c2d9a2a63d9313 (patch)
tree6cddf24224617deed3c832af507d2e6fbba27aab /engines/sherlock/people.cpp
parent3e0383ac0c3101460453d8305468db8cc9ac38b2 (diff)
downloadscummvm-rg350-e754adbf776c9c591772090f59c2d9a2a63d9313.tar.gz
scummvm-rg350-e754adbf776c9c591772090f59c2d9a2a63d9313.tar.bz2
scummvm-rg350-e754adbf776c9c591772090f59c2d9a2a63d9313.zip
SHERLOCK: Remove redundant People::synchronize code
Diffstat (limited to 'engines/sherlock/people.cpp')
-rw-r--r--engines/sherlock/people.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/engines/sherlock/people.cpp b/engines/sherlock/people.cpp
index 1e19dccb32..9cd4a16860 100644
--- a/engines/sherlock/people.cpp
+++ b/engines/sherlock/people.cpp
@@ -301,32 +301,4 @@ void People::clearTalking() {
}
}
-void People::synchronize(Serializer &s) {
- s.syncAsByte(_holmesOn);
-
- if (IS_SERRATED_SCALPEL) {
- s.syncAsSint16LE(_data[HOLMES]->_position.x);
- s.syncAsSint16LE(_data[HOLMES]->_position.y);
- s.syncAsSint16LE(_data[HOLMES]->_sequenceNumber);
- } else {
- for (uint idx = 0; idx < _data.size(); ++idx) {
- Person &p = *_data[idx];
- s.syncAsSint16LE(p._position.x);
- s.syncAsSint16LE(p._position.y);
- s.syncAsSint16LE(p._sequenceNumber);
- s.syncAsSint16LE(p._type);
- s.syncString(p._walkVGSName);
- s.syncString(p._description);
- s.syncString(p._examine);
- }
- }
-
- s.syncAsSint16LE(_holmesQuotient);
-
- if (s.isLoading()) {
- _savedPos = _data[HOLMES]->_position;
- _savedPos._facing = _data[HOLMES]->_sequenceNumber;
- }
-}
-
} // End of namespace Sherlock