summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-06-15 19:25:09 +0300
committerAndrei Karas <akaras@inbox.ru>2013-06-15 19:25:09 +0300
commit649fdb1c512e9608aa05c99a08b867c8758eeaf8 (patch)
tree36aefb040eefdc08cef57f760b3ac67a842b56b8 /src/being.cpp
parentffabda4c473711ffa8fdfe37c2a4460fe31347ac (diff)
downloadmv-649fdb1c512e9608aa05c99a08b867c8758eeaf8.tar.gz
mv-649fdb1c512e9608aa05c99a08b867c8758eeaf8.tar.bz2
mv-649fdb1c512e9608aa05c99a08b867c8758eeaf8.tar.xz
mv-649fdb1c512e9608aa05c99a08b867c8758eeaf8.zip
Add support for monster look.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index e0d849ce3..67a44c6cf 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -242,7 +242,8 @@ void Being::setSubtype(const uint16_t subtype, const uint8_t look)
if (mInfo)
{
setName(mInfo->getName());
- setupSpriteDisplay(mInfo->getDisplay());
+ setupSpriteDisplay(mInfo->getDisplay(), true, 0,
+ mInfo->getColor(mLook));
mYDiff = mInfo->getSortOffsetY();
}
}