summaryrefslogtreecommitdiff
path: root/src/resources/action.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-29 15:27:42 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-29 15:27:42 +0300
commitcc78eca07666eec99f1a09d809568970e968b52d (patch)
tree2c012ecca6a34b25766d3ff6af83d76b8c7ff0f1 /src/resources/action.cpp
parent7c020abf511236e2c56fa1c6b6c1b8f248aa8582 (diff)
downloadplus-cc78eca07666eec99f1a09d809568970e968b52d.tar.gz
plus-cc78eca07666eec99f1a09d809568970e968b52d.tar.bz2
plus-cc78eca07666eec99f1a09d809568970e968b52d.tar.xz
plus-cc78eca07666eec99f1a09d809568970e968b52d.zip
Add name into Action memory object.
Diffstat (limited to 'src/resources/action.cpp')
-rw-r--r--src/resources/action.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/action.cpp b/src/resources/action.cpp
index 85f716b28..a79614eef 100644
--- a/src/resources/action.cpp
+++ b/src/resources/action.cpp
@@ -28,9 +28,10 @@
#include "debug.h"
-Action::Action() noexcept :
+Action::Action(const std::string &name) noexcept :
MemoryCounter(),
mAnimations(),
+ mCounterName(name),
mNumber(100)
{
}