mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-22 11:51:11 +00:00
SERVER: Close mbox file after parse
Fixes suspend on PSP
This commit is contained in:
parent
f34885f213
commit
02d23e2a1e
1 changed files with 3 additions and 0 deletions
|
@ -1714,6 +1714,7 @@ void() Load_Mbox_Data =
|
||||||
for (float i = 0; i < 25; i++) {
|
for (float i = 0; i < 25; i++) {
|
||||||
BoxWeapons[i] = 1;
|
BoxWeapons[i] = 1;
|
||||||
}
|
}
|
||||||
|
fclose(file);
|
||||||
} else {
|
} else {
|
||||||
// Parse each Line and write the Data into our Array.
|
// Parse each Line and write the Data into our Array.
|
||||||
for (float i = 0; i < 25; i++) {
|
for (float i = 0; i < 25; i++) {
|
||||||
|
@ -1739,6 +1740,8 @@ void() Load_Mbox_Data =
|
||||||
precache_extra(Getweaponid(i));
|
precache_extra(Getweaponid(i));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fclose(file);
|
||||||
}
|
}
|
||||||
|
|
||||||
void() mystery_box =
|
void() mystery_box =
|
||||||
|
|
Loading…
Reference in a new issue