diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-04-27 10:36:35 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-04-27 14:09:22 -0700 |
commit | 7a9cee6ac24f5cfaaa73c97e5fef733eadba09ad (patch) | |
tree | 77120b9a83ceda3fa845cad457199de62a0a94b7 /src/map/magic-stmt.cpp | |
parent | d18f5bdb682a1d9c6e3a191926bfd46d36e813c1 (diff) | |
download | tmwa-7a9cee6ac24f5cfaaa73c97e5fef733eadba09ad.tar.gz tmwa-7a9cee6ac24f5cfaaa73c97e5fef733eadba09ad.tar.bz2 tmwa-7a9cee6ac24f5cfaaa73c97e5fef733eadba09ad.tar.xz tmwa-7a9cee6ac24f5cfaaa73c97e5fef733eadba09ad.zip |
Enumize ItemLook
Diffstat (limited to 'src/map/magic-stmt.cpp')
-rw-r--r-- | src/map/magic-stmt.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/magic-stmt.cpp b/src/map/magic-stmt.cpp index 0bef054..f132ca6 100644 --- a/src/map/magic-stmt.cpp +++ b/src/map/magic-stmt.cpp @@ -151,7 +151,8 @@ void char_set_weapon_icon(character_t *subject, int count, else { /* Set it to `normal' */ - clif_changelook(&subject->bl, LOOK::WEAPON, subject->status.weapon); + clif_changelook(&subject->bl, LOOK::WEAPON, + static_cast<uint16_t>(subject->status.weapon)); } } |