Instructions Jenkins Doxygen

[Fixed] faction pets can no longer be renamed 24/1224/2
authorIvojedi <ivojedi@swgemu.com>
Sat, 7 Dec 2013 21:21:20 +0000 (13:21 -0800)
committerIvojedi <ivojedi@swgemu.com>
Sat, 7 Dec 2013 21:21:20 +0000 (13:21 -0800)
Change-Id: If245e36885455f559bfaaa21f17a0cbbd9a8866e

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

index 0082808..86b3a61 100644 (file)
@@ -799,6 +799,10 @@ void PetControlDeviceImplementation::handleCommandTraining(CreatureObject* speak
                speaker->sendSystemMessage("@pet/pet_menu:pet_learn"); // You teach your pet a new command.
        }
 
+       // No renaming of faction pets
+       if (petType == FACTIONPET)
+               return;
+
        // Check for naming string
        StringTokenizer tokenizer(message);
        tokenizer.setDelimeter(" ");