diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-06-15 19:25:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-06-15 19:25:09 +0300 |
commit | 649fdb1c512e9608aa05c99a08b867c8758eeaf8 (patch) | |
tree | 36aefb040eefdc08cef57f760b3ac67a842b56b8 /src/being.cpp | |
parent | ffabda4c473711ffa8fdfe37c2a4460fe31347ac (diff) | |
download | plus-649fdb1c512e9608aa05c99a08b867c8758eeaf8.tar.gz plus-649fdb1c512e9608aa05c99a08b867c8758eeaf8.tar.bz2 plus-649fdb1c512e9608aa05c99a08b867c8758eeaf8.tar.xz plus-649fdb1c512e9608aa05c99a08b867c8758eeaf8.zip |
Add support for monster look.
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 3 |
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(); } } |