summaryrefslogtreecommitdiff
path: root/src/flooritem.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-03 01:25:21 +0200
committerAndrei Karas <akaras@inbox.ru>2011-03-03 01:25:21 +0200
commit22f79fd0d623c8e11994905534f53da267e22935 (patch)
tree04403929ca80f47253f8dd523a29489c0fd30162 /src/flooritem.cpp
parent582428edf9e40db0d1ed7b78222562a7a5031fe4 (diff)
downloadmv-22f79fd0d623c8e11994905534f53da267e22935.tar.gz
mv-22f79fd0d623c8e11994905534f53da267e22935.tar.bz2
mv-22f79fd0d623c8e11994905534f53da267e22935.tar.xz
mv-22f79fd0d623c8e11994905534f53da267e22935.zip
Dehardcode item colors. Now reading all from configs.
Diffstat (limited to 'src/flooritem.cpp')
-rw-r--r--src/flooritem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flooritem.cpp b/src/flooritem.cpp
index 700d9ed25..740daf387 100644
--- a/src/flooritem.cpp
+++ b/src/flooritem.cpp
@@ -72,7 +72,7 @@ FloorItem::FloorItem(int id,
}
ItemInfo info = ItemDB::get(itemId);
- setupSpriteDisplay(info.getDisplay(), true, 1, info.getDyeString(mColor));
+ setupSpriteDisplay(info.getDisplay(), true, 1, info.getDyeColorsString(mColor));
}
const ItemInfo &FloorItem::getInfo() const