Instructions Jenkins Doxygen

[fixed] another posture change without death check 14/914/1
authorVictor Popovici <victorpopovici@gmail.com>
Sun, 13 Oct 2013 14:48:15 +0000 (16:48 +0200)
committerVictor Popovici <victorpopovici@gmail.com>
Sun, 13 Oct 2013 14:48:15 +0000 (16:48 +0200)
Change-Id: I98747f47386b76461ed1437b0f78a00f52d3d907

MMOCoreORB/src/server/zone/objects/creature/commands/CombatQueueCommand.h

index bf18f82..941be90 100644 (file)
@@ -561,7 +561,9 @@ public:
                                creature->dismount();
                        }
 
-                       creature->setPosture(CreaturePosture::KNOCKEDDOWN);
+                       if (!creature->isDead() && !creature->isIncapacitated())
+                               creature->setPosture(CreaturePosture::KNOCKEDDOWN);
+
                        creature->updateKnockdownRecovery();
                        creature->updateLastKnockdown();
                        creature->sendSystemMessage("@cbt_spam:posture_knocked_down");