diff options
Diffstat (limited to 'engines/zvision/timer_node.cpp')
-rw-r--r-- | engines/zvision/timer_node.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/zvision/timer_node.cpp b/engines/zvision/timer_node.cpp index f8da0bcf37..0d7f9b1114 100644 --- a/engines/zvision/timer_node.cpp +++ b/engines/zvision/timer_node.cpp @@ -67,8 +67,10 @@ bool TimerNode::stop() { } void TimerNode::serialize(Common::WriteStream *stream) { + stream->writeUint32BE(MKTAG('T', 'I', 'M', 'R')); + stream->writeUint32LE(8); // size stream->writeUint32LE(_key); - stream->writeUint32LE(_timeLeft); + stream->writeUint32LE(_timeLeft / (_engine->getGameId() == GID_NEMESIS ? 1000 : 100)); } void TimerNode::deserialize(Common::SeekableReadStream *stream) { |