mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-21 20:27:13 +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];
|
b = str[1];
|
||||||
c = str[2];
|
c = str[2];
|
||||||
}
|
}
|
||||||
else if (len >= 52)
|
else if (len >= 2)
|
||||||
b = str[1];
|
b = str[1];
|
||||||
// Search for a pattern in the name
|
// Search for a pattern in the name
|
||||||
switch (a)
|
switch (a)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user