summaryrefslogtreecommitdiff
path: root/src/game-server/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/being.cpp')
-rw-r--r--src/game-server/being.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game-server/being.cpp b/src/game-server/being.cpp
index fd9f8fe4..82080459 100644
--- a/src/game-server/being.cpp
+++ b/src/game-server/being.cpp
@@ -39,6 +39,7 @@ Being::Being(ThingType type):
Actor(type),
mAction(STAND),
mTarget(NULL),
+ mGender(GENDER_UNSPECIFIED),
mDirection(DOWN)
{
const AttributeScope &attr = attributeManager->getAttributeScope(BeingScope);
@@ -731,3 +732,7 @@ bool Being::isTimerJustFinished(TimerID id) const
return getTimer(id) == 0;
}
+void Being::setGender(BeingGender gender)
+{
+ mGender = gender;
+}