]> git.localhorst.tv Git - l2e.git/commitdiff
fixed hero animations reference type
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Sun, 9 Sep 2012 12:18:33 +0000 (14:18 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Sun, 9 Sep 2012 12:18:33 +0000 (14:18 +0200)
src/battle/Hero.cpp

index a736c671ec5ed0946a5e3856342b2b6dd8cbde45..d117da078ed072bc8dfa9a00d8f70519ccc91325 100644 (file)
@@ -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));
 }
 
 }