# HG changeset patch # User mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1216474681 0 # Node ID 746df66978daed1933dded112ecf8310126e9ef9 # Parent e7b55b2b398f03a857bcea470a70f5dc45f6fccf * Fix by Sleek & GreyGhost diff -r e7b55b2b398f -r 746df66978da engine/core/model/structures/layer.cpp --- a/engine/core/model/structures/layer.cpp Sat Jul 19 12:14:51 2008 +0000 +++ b/engine/core/model/structures/layer.cpp Sat Jul 19 13:38:01 2008 +0000 @@ -28,6 +28,7 @@ // These includes are split up in two parts, separated by one empty line // First block: files included from the FIFE root src directory // Second block: files included from the same folder +#include "util/log/logger.h" #include "util/structures/purge.h" #include "layer.h" @@ -37,6 +38,8 @@ namespace FIFE { + static Logger _log(LM_STRUCTURES); + Layer::Layer(const std::string& identifier, Map* map, CellGrid* grid) : m_id(identifier), m_map(map), @@ -63,7 +66,7 @@ return createInstance(object, emc, id); } - bool Layer::createInstance(Object* object, const ExactModelCoordinate& p, const std::string& id) { + Instance* Layer::createInstance(Object* object, const ExactModelCoordinate& p, const std::string& id) { Location l; l.setLayer(this); l.setExactLayerCoordinates(p);