diff options
| author | Hristiyan <titkata_BG@ABV.BG> | 2017-12-03 13:31:47 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2017-12-03 12:31:47 +0100 |
| commit | 0725f608aa7af9dd9857cb695038bfc9700c1e12 (patch) | |
| tree | 9a05179145af6dac04c6d375fcc554d4d35a2627 | |
| parent | d011097ab0f0c4763108547ba5667e8de5768ef6 (diff) | |
Core/Commands: Allow using display ids higher than std::numeric_limits<uint16>::max() for .modify morph command (#21022)
| -rw-r--r-- | src/server/scripts/Commands/cs_modify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Commands/cs_modify.cpp b/src/server/scripts/Commands/cs_modify.cpp index af8e5c12268..99b229f31d2 100644 --- a/src/server/scripts/Commands/cs_modify.cpp +++ b/src/server/scripts/Commands/cs_modify.cpp @@ -1021,7 +1021,7 @@ public: if (!*args) return false; - uint16 display_id = (uint16)atoi((char*)args); + uint32 display_id = (uint32)atoi((char*)args); Unit* target = handler->getSelectedUnit(); if (!target) |
