summaryrefslogtreecommitdiff
path: root/src/map/script-fun.cpp
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-04-24 13:06:34 -0400
committermekolat <mekolat@users.noreply.github.com>2016-04-24 13:06:34 -0400
commitd007bb6c7b519137585c53373ec085b57528b17d (patch)
tree8a090167bec29d2eb85a330901f620f4e28d6b20 /src/map/script-fun.cpp
parent881e3c06581f566f626f0c7d4da7724ff7a6d6a4 (diff)
downloadtmwa-d007bb6c7b519137585c53373ec085b57528b17d.tar.gz
tmwa-d007bb6c7b519137585c53373ec085b57528b17d.tar.bz2
tmwa-d007bb6c7b519137585c53373ec085b57528b17d.tar.xz
tmwa-d007bb6c7b519137585c53373ec085b57528b17d.zip
fix npc gender for ManaPlus
Diffstat (limited to 'src/map/script-fun.cpp')
-rw-r--r--src/map/script-fun.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script-fun.cpp b/src/map/script-fun.cpp
index b39a763..fc555ad 100644
--- a/src/map/script-fun.cpp
+++ b/src/map/script-fun.cpp
@@ -1145,6 +1145,7 @@ void builtin_puppet(ScriptState *st)
// PlayerName::SpellName
nd->name = npc;
+ nd->sex = SEX::UNSPECIFIED;
// Dynamically set location
nd->bl_m = m;