summaryrefslogtreecommitdiff
path: root/src/resources/itemmanager.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-03-09 05:16:27 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-03-09 05:16:27 +0000
commite5f795ad9952b8bba6993ee3e324b22a0f104816 (patch)
tree1602ac0f74865135eae5acf935b0a285a8e918c2 /src/resources/itemmanager.cpp
parent7593d6c71e2331c3e43c732db60ad03ee4d5385d (diff)
downloadmana-client-e5f795ad9952b8bba6993ee3e324b22a0f104816.tar.gz
mana-client-e5f795ad9952b8bba6993ee3e324b22a0f104816.tar.bz2
mana-client-e5f795ad9952b8bba6993ee3e324b22a0f104816.tar.xz
mana-client-e5f795ad9952b8bba6993ee3e324b22a0f104816.zip
Made all class members named like mClassMember.
Diffstat (limited to 'src/resources/itemmanager.cpp')
-rw-r--r--src/resources/itemmanager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/itemmanager.cpp b/src/resources/itemmanager.cpp
index 994f11b9..9f6607c1 100644
--- a/src/resources/itemmanager.cpp
+++ b/src/resources/itemmanager.cpp
@@ -38,8 +38,8 @@
ItemManager::ItemManager()
{
- unknown = new ItemInfo();
- unknown->setName("Unknown item");
+ mUnknown = new ItemInfo();
+ mUnknown->setName("Unknown item");
ResourceManager *resman = ResourceManager::getInstance();
int size;
@@ -161,7 +161,7 @@ ItemManager::~ItemManager()
}
mItemInfos.clear();
- delete unknown;
+ delete mUnknown;
}
ItemInfo*
@@ -169,5 +169,5 @@ ItemManager::getItemInfo(int id)
{
ItemInfoIterator i = mItemInfos.find(id);
- return (i != mItemInfos.end()) ? i->second : unknown;
+ return (i != mItemInfos.end()) ? i->second : mUnknown;
}