From 01246b27b00c0dbcb811cd168fcc6b6f85991135 Mon Sep 17 00:00:00 2001 From: "admin@omencraft.com" Date: Tue, 1 Nov 2011 17:48:11 +0000 Subject: Players can now place blocks in creative mode. The blocks players select from the creative mode inventory are not stored in the players' inventory. (I kind of like that) git-svn-id: http://mc-server.googlecode.com/svn/trunk@37 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cChunkMap.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'source/cChunkMap.cpp') diff --git a/source/cChunkMap.cpp b/source/cChunkMap.cpp index b5a907f09..1cabcd593 100644 --- a/source/cChunkMap.cpp +++ b/source/cChunkMap.cpp @@ -660,6 +660,7 @@ cChunkMap::cChunkLayer* cChunkMap::LoadLayer(int a_LayerX, int a_LayerZ ) short NumChunks = 0; if( fread( &NumChunks, sizeof(NumChunks), 1, f) != 1 ) { LOGERROR("ERROR 3 READING FROM FILE %s", SourceFile); fclose(f); return false; } LOG("Num chunks: %i", NumChunks ); + LOG("Source File: %s", SourceFile ); cChunkLayer* Layer = new cChunkLayer( LAYER_SIZE*LAYER_SIZE ); Layer->m_X = a_LayerX; -- cgit v1.2.3