mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-12 14:58:06 +03:00
Fix last map being duplicated for each blank line in maps file (bug 5005, r=dvander).
This commit is contained in:
parent
c439946a34
commit
e0bcbaeac7
@ -275,6 +275,7 @@ loadSettings(filename[])
|
|||||||
while (!feof(fp))
|
while (!feof(fp))
|
||||||
{
|
{
|
||||||
buff[0]='^0';
|
buff[0]='^0';
|
||||||
|
szText[0]='^0';
|
||||||
|
|
||||||
fgets(fp, buff, charsof(buff));
|
fgets(fp, buff, charsof(buff));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user