Fixed: Warning with clang

--HG--
branch : develop
This commit is contained in:
kervala 2016-01-14 21:27:42 +01:00
parent 27ae7dddf0
commit cb26d897ae

View file

@ -86,11 +86,10 @@ namespace NL3D
class CEntitySheet;
class CEntityCL;
class CAttackInfo;
class CItemSheet;
class CPhysicalDamage;
namespace NLMISC{
class CCDBNodeLeaf;
class CCDBNodeBranch;
@ -586,7 +585,7 @@ public:
virtual void impact(uint /* impactType */, uint /* type */, uint /* id */, uint /* intensity */) {}
/** Try to play a melee impact on this entity.
*/
virtual void meleeImpact(const CPhysicalDamage &/* damage */) {}
virtual void meleeImpact(const CAttackInfo &/* attack */) {}
/** Play the magic impact on the entity
* \param type : type of the impact (host/good/neutral).
* \param intensity : intensity of the impact.