From cb26d897ae54aaa4d9d4b532bb09c39997b11681 Mon Sep 17 00:00:00 2001 From: kervala Date: Thu, 14 Jan 2016 21:27:42 +0100 Subject: [PATCH] Fixed: Warning with clang --HG-- branch : develop --- code/ryzom/client/src/entity_cl.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/ryzom/client/src/entity_cl.h b/code/ryzom/client/src/entity_cl.h index f7a26e03f..fb04576bc 100644 --- a/code/ryzom/client/src/entity_cl.h +++ b/code/ryzom/client/src/entity_cl.h @@ -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.