diff options
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/beinghandler.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp index 3bf62b646..fd9c04dfc 100644 --- a/src/net/tmwa/beinghandler.cpp +++ b/src/net/tmwa/beinghandler.cpp @@ -1117,7 +1117,8 @@ void BeingHandler::processBeingVisible(Net::MessageIn &msg) if (!mHideShield) setSprite(dstBeing, SPRITE_SHIELD, shield); } - else if (dstBeing->getType() == ActorType::Npc) + else if (dstBeing->getType() == ActorType::Npc + && serverFeatures->haveNpcGender()) { setServerGender(dstBeing, gender); } @@ -1321,7 +1322,8 @@ void BeingHandler::processBeingMove(Net::MessageIn &msg) if (!mHideShield) setSprite(dstBeing, SPRITE_SHIELD, shield); } - else if (dstBeing->getType() == ActorType::Npc) + else if (dstBeing->getType() == ActorType::Npc + && serverFeatures->haveNpcGender()) { setServerGender(dstBeing, gender); } |