mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-19 08:37:14 +02:00
Fix incorrect range check when converting skin name to identifier.
This commit is contained in:
@ -82,7 +82,7 @@ Int32 GetSkinID(CCStr name)
|
||||
b = str[1];
|
||||
c = str[2];
|
||||
}
|
||||
else if (len >= 52)
|
||||
else if (len >= 2)
|
||||
b = str[1];
|
||||
// Search for a pattern in the name
|
||||
switch (a)
|
||||
|
Reference in New Issue
Block a user