diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-29 15:27:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-29 15:27:42 +0300 |
commit | cc78eca07666eec99f1a09d809568970e968b52d (patch) | |
tree | 2c012ecca6a34b25766d3ff6af83d76b8c7ff0f1 /src/resources/sprite | |
parent | 7c020abf511236e2c56fa1c6b6c1b8f248aa8582 (diff) | |
download | manaplus-cc78eca07666eec99f1a09d809568970e968b52d.tar.gz manaplus-cc78eca07666eec99f1a09d809568970e968b52d.tar.bz2 manaplus-cc78eca07666eec99f1a09d809568970e968b52d.tar.xz manaplus-cc78eca07666eec99f1a09d809568970e968b52d.zip |
Add name into Action memory object.
Diffstat (limited to 'src/resources/sprite')
-rw-r--r-- | src/resources/sprite/spritedef.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/sprite/spritedef.cpp b/src/resources/sprite/spritedef.cpp index 066d0b827..a19c1b267 100644 --- a/src/resources/sprite/spritedef.cpp +++ b/src/resources/sprite/spritedef.cpp @@ -275,7 +275,7 @@ void SpriteDef::loadAction(const XmlNodePtr node, actionName.c_str(), getIdPath().c_str()); return; } - Action *const action = new Action; + Action *const action = new Action(actionName); action->setNumber(hp); addAction(hp, actionName, action); |