Instructions Jenkins Doxygen

[Fixed] pets without a creature template are set to no faction when 52/1052/1
authorIvojedi <ivojedi@swgemu.com>
Sun, 3 Nov 2013 11:10:35 +0000 (03:10 -0800)
committerIvojedi <ivojedi@swgemu.com>
Sun, 3 Nov 2013 11:10:35 +0000 (03:10 -0800)
stored

Change-Id: I0f2cc706f99bf53043db6a541eebfe38d660db22

MMOCoreORB/src/server/zone/objects/intangible/PetControlDeviceImplementation.cpp

index a47611a..687fb0b 100644 (file)
@@ -310,6 +310,9 @@ void PetControlDeviceImplementation::storeObject(CreatureObject* player) {
        if (creoTemp != NULL) {
                pet->setFaction(creoTemp->getFaction().hashCode());
                pet->setPvpStatusBitmask(creoTemp->getPvpBitmask(), false);
+       } else {
+               pet->setFaction(0);
+               pet->setPvpStatusBitmask(0, false);
        }
 
        ManagedReference<PlayerObject*> ghost = player->getPlayerObject();