mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-25 20:01:04 +00:00
More consistent netreplay wadfile list writing
Fixes crashes for newly-written demos that have files with absurdly long names attached
This commit is contained in:
parent
e931f2bec2
commit
a6c825dd16
1 changed files with 1 additions and 1 deletions
|
@ -6769,7 +6769,7 @@ void G_BeginRecording(void)
|
|||
if (wadfiles[i]->important)
|
||||
{
|
||||
nameonly(( filename = va("%s", wadfiles[i]->filename) ));
|
||||
WRITESTRINGN(demo_p, filename, 64);
|
||||
WRITESTRINGL(demo_p, filename, MAX_WADPATH);
|
||||
WRITEMEM(demo_p, wadfiles[i]->md5sum, 16);
|
||||
|
||||
totalfiles++;
|
||||
|
|
Loading…
Reference in a new issue