From ab507f83e2e0b1f442341724bc47a8480667628e Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 26 Nov 2012 09:10:27 +0200 Subject: Fix LuaEntitySAO::getClientInitializationData() and bump the related version --- src/content_sao.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/content_sao.cpp') diff --git a/src/content_sao.cpp b/src/content_sao.cpp index 406bd9c68..efc14570a 100644 --- a/src/content_sao.cpp +++ b/src/content_sao.cpp @@ -567,10 +567,10 @@ void LuaEntitySAO::step(float dtime, bool send_recommended) std::string LuaEntitySAO::getClientInitializationData() { std::ostringstream os(std::ios::binary); - writeU8(os, 0); // version + writeU8(os, 1); // version os<getName()); // name writeU8(os, 1); // is_player writeS16(os, getId()); //id -- cgit v1.2.3