From 52d6f3323b258470157cdeae37de08c22e784a60 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 16 Mar 2009 09:16:56 +0000 Subject: Added a syncString variation needed for the Cruise engine svn-id: r39442 --- common/serializer.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'common') diff --git a/common/serializer.h b/common/serializer.h index 24af9dc6f5..3727c277b3 100644 --- a/common/serializer.h +++ b/common/serializer.h @@ -86,6 +86,13 @@ public: } } + /** + * Sync a fixed length C-string + */ + void syncString(char *buf, uint16 size) { + syncBytes((byte *)buf, size); + } + void skip(uint32 size) { _bytesSynced += size; if (_loadStream) -- cgit v1.2.3