Fix an out of bound buffer index
This commit is contained in:
1 parent
0af2c0e4c1
commit
4662109980
1 file changed
+1
-1
+1
-1
@@ -688,7 +688,7 @@ reswitch:
|
||||
auto currParam = params[arg++];
|
||||
lang = playerlang(*get_amxaddr(amx, currParam));
|
||||
if (!lang)
|
||||
lang = get_amxstring(amx, currParam, 4, len);
|
||||
lang = get_amxstring(amx, currParam, 2, len);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user