diff options
Diffstat (limited to 'src/game-server/mapcomposite.cpp')
-rw-r--r-- | src/game-server/mapcomposite.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game-server/mapcomposite.cpp b/src/game-server/mapcomposite.cpp index cdea12a..485492d 100644 --- a/src/game-server/mapcomposite.cpp +++ b/src/game-server/mapcomposite.cpp @@ -92,6 +92,7 @@ void MapZone::insert(Actor *obj) default: { objects.push_back(obj); + break; } } } @@ -117,6 +118,7 @@ void MapZone::remove(Actor *obj) { i = objects.begin() + nbMovingObjects; i_end = objects.end(); + break; } } i = std::find(i, i_end, obj); @@ -462,6 +464,7 @@ Script::Ref MapComposite::mUpdateCallback; MapComposite::MapComposite(int id, const std::string &name): mActive(false), mMap(0), + mPvPRules(PVP_NONE), mContent(0), mName(name), mID(id) |