mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-20 19:57:12 +01:00
Fix incorrect range check when converting skin name to identifier.
This commit is contained in:
parent
0559e224ad
commit
63da454de8
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user