From 4df1e68047488ec00a264c076bb3222715f42295 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 10 Mar 2017 16:40:52 +0300 Subject: Fix new style issue detected by mplint. new class() -> new class --- src/resources/sprite/spritedef.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/sprite') diff --git a/src/resources/sprite/spritedef.cpp b/src/resources/sprite/spritedef.cpp index 544729d6a..3eb30d27d 100644 --- a/src/resources/sprite/spritedef.cpp +++ b/src/resources/sprite/spritedef.cpp @@ -565,7 +565,7 @@ void SpriteDef::addAction(const unsigned hp, const std::string &name, { const Actions::const_iterator i = mActions.find(hp); if (i == mActions.end()) - mActions[hp] = new ActionMap(); + mActions[hp] = new ActionMap; (*mActions[hp])[name] = action; } -- cgit v1.2.3-70-g09d2