mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Fix the path of srb2home not being taken into account when loading the last IPs joined log file
This commit is contained in:
parent
5c4ff2ead0
commit
c95fed770e
1 changed files with 2 additions and 2 deletions
|
|
@ -542,11 +542,11 @@ void M_LoadJoinedIPs(void)
|
||||||
{
|
{
|
||||||
FILE *f = NULL;
|
FILE *f = NULL;
|
||||||
UINT8 i = 0;
|
UINT8 i = 0;
|
||||||
char filepath[255];
|
char *filepath;
|
||||||
char *s;
|
char *s;
|
||||||
char content[255]; // 255 is more than long enough!
|
char content[255]; // 255 is more than long enough!
|
||||||
|
|
||||||
strcpy(filepath, IPLOGFILE);
|
filepath = va("%s"PATHSEP"%s", srb2home, IPLOGFILE);
|
||||||
f = fopen(filepath, "r");
|
f = fopen(filepath, "r");
|
||||||
|
|
||||||
if (f == NULL)
|
if (f == NULL)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue