diff options
Diffstat (limited to 'src/map/script.cpp')
-rw-r--r-- | src/map/script.cpp | 2 |
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; |