diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-10 16:40:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-10 16:40:52 +0300 |
commit | 4df1e68047488ec00a264c076bb3222715f42295 (patch) | |
tree | 22ea99ebcd00a6c9d6da0729706b765a49085c5f /src/resources/iteminfo.cpp | |
parent | bfc5d7483c0a81409ebf08603f634e88b8db03f8 (diff) | |
download | ManaVerse-4df1e68047488ec00a264c076bb3222715f42295.tar.gz ManaVerse-4df1e68047488ec00a264c076bb3222715f42295.tar.bz2 ManaVerse-4df1e68047488ec00a264c076bb3222715f42295.tar.xz ManaVerse-4df1e68047488ec00a264c076bb3222715f42295.zip |
Fix new style issue detected by mplint.
new class() -> new class
Diffstat (limited to 'src/resources/iteminfo.cpp')
-rw-r--r-- | src/resources/iteminfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/iteminfo.cpp b/src/resources/iteminfo.cpp index fabf96f3b..6c0363e6c 100644 --- a/src/resources/iteminfo.cpp +++ b/src/resources/iteminfo.cpp @@ -178,7 +178,7 @@ IntMap *ItemInfo::addReplaceSprite(const int sprite, if (!spMap) { - spMap = new SpriteToItemMap(); + spMap = new SpriteToItemMap; mSpriteToItemReplaceMap[direction] = spMap; mSpriteToItemReplaceList.push_back(spMap); } |