From: <wel...@us...> - 2011-01-31 14:49:08
|
Revision: 6845 http://planeshift.svn.sourceforge.net/planeshift/?rev=6845&view=rev Author: weltall2 Date: 2011-01-31 14:49:02 +0000 (Mon, 31 Jan 2011) Log Message: ----------- removed duplicate event which even triggered in the wrong cases Modified Paths: -------------- trunk/src/server/combatmanager.cpp Modified: trunk/src/server/combatmanager.cpp =================================================================== --- trunk/src/server/combatmanager.cpp 2011-01-30 22:15:26 UTC (rev 6844) +++ trunk/src/server/combatmanager.cpp 2011-01-31 14:49:02 UTC (rev 6845) @@ -863,12 +863,6 @@ if (!skipThisRound) { - // If we didn't attack last time target might have forgotten about us by now - // so we should remind him. - if(event->PreviousAttackResult == ATTACK_OUTOFRANGE || - event->PreviousAttackResult == ATTACK_BADANGLE) - NotifyTarget(gemAttacker,gemTarget); - if (weapon->GetIsRangeWeapon() && weapon->GetUsesAmmo()) { INVENTORY_SLOT_NUMBER otherHand = event->GetWeaponSlot() == PSCHARACTER_SLOT_RIGHTHAND ? This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |