Fix spawn loading and saving, thanks to @BrunoDCC

This commit is contained in:
Allan Ference
2013-08-20 12:14:52 +02:00
parent efbd9ab693
commit aaad8ab8a0
2 changed files with 3 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ public:
int32 getRadius() { return m_attribs.get<int32>(SpawnAttrRadius); }
void setCenterPos(const Position& pos) { m_attribs.set(SpawnAttrCenter, pos); }
Position getCenterPos() { return m_attribs.get<Position>(SpawnAttrPos); }
Position getCenterPos() { return m_attribs.get<Position>(SpawnAttrCenter); }
void addCreature(const Position& placePos, const CreatureTypePtr& cType);
void removeCreature(const Position& pos);