From 64309d7a7dc6380d62fa11363073d4243cbfa665 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 18 Jan 2015 14:06:44 +0300 Subject: Convert player look variable format from 8 bit to 16 bit. --- src/being/being.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/being/being.cpp') diff --git a/src/being/being.cpp b/src/being/being.cpp index 838892119..03e13156c 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -301,7 +301,7 @@ void Being::createSpeechBubble() mSpeechBubble->postInit(); } -void Being::setSubtype(const uint16_t subtype, const uint8_t look) +void Being::setSubtype(const uint16_t subtype, const uint16_t look) { if (!mInfo) return; @@ -3409,7 +3409,7 @@ void Being::playSfx(const SoundInfo &sound, Being *const being, BLOCK_END("Being::playSfx") } -void Being::setLook(const uint8_t look) +void Being::setLook(const uint16_t look) { if (mType == ActorType::Player) setSubtype(mSubType, look); -- cgit v1.2.3-70-g09d2