mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Fix compilation.
This commit is contained in:
parent
2b93228076
commit
6040dbfbb9
@ -465,18 +465,18 @@ loadCvarSettings(szFilename[])
|
|||||||
if (text[0] == ';') continue
|
if (text[0] == ';') continue
|
||||||
|
|
||||||
inum = parse(text, g_cvarNames[g_cvarNum], charsmax(g_cvarNames[]),
|
inum = parse(text, g_cvarNames[g_cvarNum], charsmax(g_cvarNames[]),
|
||||||
szValues[0], charsmax(szValue[]),
|
szValues[0], charsmax(szValues[]),
|
||||||
szValues[1], charsmax(szValue[]),
|
szValues[1], charsmax(szValues[]),
|
||||||
szValues[2], charsmax(szValue[]),
|
szValues[2], charsmax(szValues[]),
|
||||||
szValues[3], charsmax(szValue[]),
|
szValues[3], charsmax(szValues[]),
|
||||||
szValues[4], charsmax(szValue[]),
|
szValues[4], charsmax(szValues[]),
|
||||||
szValues[5], charsmax(szValue[]),
|
szValues[5], charsmax(szValues[]),
|
||||||
szValues[6], charsmax(szValue[]),
|
szValues[6], charsmax(szValues[]),
|
||||||
szValues[7], charsmax(szValue[]),
|
szValues[7], charsmax(szValues[]),
|
||||||
szValues[8], charsmax(szValue[]),
|
szValues[8], charsmax(szValues[]),
|
||||||
szValues[9], charsmax(szValue[]),
|
szValues[9], charsmax(szValues[]),
|
||||||
szValues[10], charsmax(szValue[]),
|
szValues[10], charsmax(szValues[]),
|
||||||
szValues[11], charsmax(szValue[]))
|
szValues[11], charsmax(szValues[]))
|
||||||
|
|
||||||
inum -= 2
|
inum -= 2
|
||||||
if (inum < 2) continue
|
if (inum < 2) continue
|
||||||
@ -484,12 +484,12 @@ loadCvarSettings(szFilename[])
|
|||||||
|
|
||||||
for (a = 0; a < inum && g_cvarCmdNum < cvar_values; ++a)
|
for (a = 0; a < inum && g_cvarCmdNum < cvar_values; ++a)
|
||||||
{
|
{
|
||||||
while (replace(szValues[a], charsmax(szValue[]), "\'", "^""))
|
while (replace(szValues[a], charsmax(szValues[]), "\'", "^""))
|
||||||
{
|
{
|
||||||
// do nothing
|
// do nothing
|
||||||
}
|
}
|
||||||
|
|
||||||
copy(g_cvarCmd[g_cvarCmdNum], charsmax(g_cvarCmdNum[]), szValues[a])
|
copy(g_cvarCmd[g_cvarCmdNum], charsmax(g_cvarCmd[]), szValues[a])
|
||||||
g_cvarCmdNum++
|
g_cvarCmdNum++
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -480,7 +480,7 @@ public cmdPlugin(id, level, cid)
|
|||||||
|
|
||||||
for (new a = start; a < end; ++a)
|
for (new a = start; a < end; ++a)
|
||||||
{
|
{
|
||||||
get_plugin(a, plugin, charsmax(plugin), title, charsmax(title), version, charsmax(version), author, charsmax(authod), status, charsmax(status))
|
get_plugin(a, plugin, charsmax(plugin), title, charsmax(title), version, charsmax(version), author, charsmax(author), status, charsmax(status))
|
||||||
if (status[0] == 'r') ++running
|
if (status[0] == 'r') ++running
|
||||||
console_print(id, " [%3d] %-18.17s %-8.7s %-17.16s %-16.15s %-9.8s", a + 1, title, version, author, plugin, status)
|
console_print(id, " [%3d] %-18.17s %-8.7s %-17.16s %-16.15s %-9.8s", a + 1, title, version, author, plugin, status)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user