Instructions Jenkins Doxygen

[fixed] stability issue 73/1073/1
authorVictor Popovici <victorpopovici@gmail.com>
Wed, 6 Nov 2013 17:30:40 +0000 (18:30 +0100)
committerVictor Popovici <victorpopovici@gmail.com>
Wed, 6 Nov 2013 17:30:40 +0000 (18:30 +0100)
Change-Id: I609f657dccb423e1765c4ae132e00eb8314dedce

MMOCoreORB/src/server/zone/objects/installation/InstallationObjectImplementation.cpp

index afe769b..e0dc7c7 100644 (file)
@@ -87,13 +87,15 @@ void InstallationObjectImplementation::fillAttributeList(AttributeListMessage* a
 }
 
 void InstallationObjectImplementation::broadcastMessage(BasePacket* message, bool sendSelf) {
-       if (getZone() == NULL)
+       Zone* zone = getZone();
+
+       if (zone == NULL)
                return;
 
-       Locker zoneLocker(getZone());
+       Locker zoneLocker(zone);
 
        SortedVector<ManagedReference<QuadTreeEntry*> > closeSceneObjects;
-       getZone()->getInRangeObjects(getPositionX(), getPositionY(), 512, &closeSceneObjects, false);
+       zone->getInRangeObjects(getPositionX(), getPositionY(), 512, &closeSceneObjects, false);
 
        for (int i = 0; i < closeSceneObjects.size(); ++i) {
                ManagedReference<SceneObject*> scno = cast<SceneObject*>( closeSceneObjects.get(i).get());