From ab507f83e2e0b1f442341724bc47a8480667628e Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 26 Nov 2012 09:10:27 +0200 Subject: [PATCH] Fix LuaEntitySAO::getClientInitializationData() and bump the related version --- src/content_cao.cpp | 2 +- src/content_sao.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/content_cao.cpp b/src/content_cao.cpp index 339c9f248..ce41c8312 100644 --- a/src/content_cao.cpp +++ b/src/content_cao.cpp @@ -650,7 +650,7 @@ public: // version u8 version = readU8(is); // check version - if(version != 0){ + if(version != 1){ errorstream<<"GenericCAO: Unsupported init data version" <getName()); // name writeU8(os, 1); // is_player writeS16(os, getId()); //id