Instructions Jenkins Doxygen

[fixed] stability issue 77/1077/1
authorVictor Popovici <victorpopovici@gmail.com>
Thu, 7 Nov 2013 11:15:23 +0000 (12:15 +0100)
committerVictor Popovici <victorpopovici@gmail.com>
Thu, 7 Nov 2013 11:15:23 +0000 (12:15 +0100)
Change-Id: I97c43ac58a00db4ef52ad113c217a628ccebfc4e

MMOCoreORB/src/server/zone/objects/mission/BountyMissionObjectiveImplementation.cpp

index d5e6afc..6bd1aed 100644 (file)
@@ -57,8 +57,11 @@ void BountyMissionObjectiveImplementation::deactivate() {
        MissionObjectiveImplementation::deactivate();
 
        if (activeDroid != NULL) {
-               activeDroid->destroyObjectFromDatabase();
-               activeDroid->destroyObjectFromWorld(true);
+               if (!activeDroid->isPlayerCreature()) {
+                       activeDroid->destroyObjectFromDatabase();
+                       activeDroid->destroyObjectFromWorld(true);
+               }
+
                activeDroid = NULL;
        }
 }