summaryrefslogtreecommitdiff
path: root/src/map/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script.cpp')
-rw-r--r--src/map/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.cpp b/src/map/script.cpp
index 55c7d42..a76563f 100644
--- a/src/map/script.cpp
+++ b/src/map/script.cpp
@@ -4144,7 +4144,7 @@ void builtin_getlook(ScriptState *st)
val = sd->status.hair;
break;
case LOOK::WEAPON: //2
- val = sd->status.weapon;
+ val = static_cast<uint16_t>(sd->status.weapon);
break;
case LOOK::HEAD_BOTTOM: //3
val = sd->status.head_bottom;