summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-18 14:06:44 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-18 14:06:44 +0300
commit64309d7a7dc6380d62fa11363073d4243cbfa665 (patch)
treee9ac37f294e2a612391be6afa199b689e90defe8 /src/being/being.cpp
parentbc22bc4da27d80627fa966660670219b3652e9ec (diff)
downloadplus-64309d7a7dc6380d62fa11363073d4243cbfa665.tar.gz
plus-64309d7a7dc6380d62fa11363073d4243cbfa665.tar.bz2
plus-64309d7a7dc6380d62fa11363073d4243cbfa665.tar.xz
plus-64309d7a7dc6380d62fa11363073d4243cbfa665.zip
Convert player look variable format from 8 bit to 16 bit.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp4
1 files changed, 2 insertions, 2 deletions
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);