aboutsummaryrefslogtreecommitdiff
path: root/src/game/Creature.cpp
diff options
context:
space:
mode:
authorMachiavelli <none@none>2009-06-10 08:44:10 +0200
committerMachiavelli <none@none>2009-06-10 08:44:10 +0200
commitf137dc02ecadb515928655dd6603f33187731fec (patch)
tree4c8891a31ae7fe4d034fb2c0e03c596a5eed746d /src/game/Creature.cpp
parentd065bbf410429371bbd4b3f60cfac02fec28a473 (diff)
* Better fix for issue that players are unable to loot creatures when the HP of the creature is changed via a script. Do not use rev before this.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Creature.cpp')
-rw-r--r--src/game/Creature.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp
index b3e735aa2de..7f249b36fbd 100644
--- a/src/game/Creature.cpp
+++ b/src/game/Creature.cpp
@@ -154,7 +154,6 @@ m_creatureInfo(NULL), m_reactState(REACT_AGGRESSIVE), m_formation(NULL), m_summo
m_unit_movement_flags = MOVEMENTFLAG_WALK_MODE;
DisableReputationGain = false;
ResetDamageByPlayers();
- m_MinPlayerDamageReq = (uint32)(m_creature->GetHealth / m_creature->GetMaxHealth * 50);
}
Creature::~Creature()