Core/Commands: Allow using display ids higher than std::numeric_limits<uint16>::max() for .modify morph command (#21022)

This commit is contained in:
Hristiyan authored and Aokromes committed 2017-12-03 17:12:39 +01:00
1 parent b8ca6a9045
commit 58fe4ebdf2
1 file changed
+1 -1
+1 -1
View File
@@ -1023,7 +1023,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)