Mercurial > fife-parpg
changeset 92:746df66978da
* Fix by Sleek & GreyGhost
author | mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sat, 19 Jul 2008 13:38:01 +0000 |
parents | e7b55b2b398f |
children | d061bc6e3da8 |
files | engine/core/model/structures/layer.cpp |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);