From 423f49d175d8db6283232bd8bdc106e26bdcff4d Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 16 Feb 2012 13:42:35 +0000 Subject: Chunk is now marked as dirty; saving only dirty chunks; rewritten load / save not to use cChunkPtr; set VC2008 project to level4 warnings; block entities are now loaded and saved properly git-svn-id: http://mc-server.googlecode.com/svn/trunk@273 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cChestEntity.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/cChestEntity.h') diff --git a/source/cChestEntity.h b/source/cChestEntity.h index d3d98739b..323eb0f8a 100644 --- a/source/cChestEntity.h +++ b/source/cChestEntity.h @@ -37,10 +37,10 @@ public: cItem * GetSlot( int a_Slot ); void SetSlot( int a_Slot, cItem & a_Item ); - bool LoadFromFile(cFile & a_File); // deprecated format + OBSOLETE bool LoadFromFile(cFile & a_File); // deprecated format bool LoadFromJson( const Json::Value& a_Value ); - void SaveToJson( Json::Value& a_Value ); + virtual void SaveToJson(Json::Value& a_Value ) override; void SendTo( cClientHandle* a_Client, cServer* a_Server ); -- cgit v1.2.3