From: Daniel Karbach Date: Sun, 9 Sep 2012 12:18:33 +0000 (+0200) Subject: fixed hero animations reference type X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=8bf720f722ca1b4a95f5a5c340dad39859115de4;p=l2e.git fixed hero animations reference type --- diff --git a/src/battle/Hero.cpp b/src/battle/Hero.cpp index a736c67..d117da0 100644 --- a/src/battle/Hero.cpp +++ b/src/battle/Hero.cpp @@ -177,9 +177,9 @@ void Hero::CreateTypeDescription() { td.AddField("ip", FieldDescription(((char *)&h.ip) - ((char *)&h), numberId, false)); td.AddField("stats", FieldDescription(((char *)&h.stats) - ((char *)&h), statsId, false)); - td.AddField("attackAnimation", FieldDescription(((char *)&h.attackAnimation) - ((char *)&h), animationId, false)); - td.AddField("spellAnimation", FieldDescription(((char *)&h.spellAnimation) - ((char *)&h), animationId, false)); - td.AddField("meleeAnimation", FieldDescription(((char *)&h.meleeAnimation) - ((char *)&h), animationId, false)); + td.AddField("attackAnimation", FieldDescription(((char *)&h.attackAnimation) - ((char *)&h), animationId, true)); + td.AddField("spellAnimation", FieldDescription(((char *)&h.spellAnimation) - ((char *)&h), animationId, true)); + td.AddField("meleeAnimation", FieldDescription(((char *)&h.meleeAnimation) - ((char *)&h), animationId, true)); } }