mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 11:22:18 -04:00
ignore too short demo lumps
not only empty ones
This commit is contained in:
parent
00e17c0e1f
commit
f8aaa2bfab
@ -1124,8 +1124,8 @@ static void G_DoPlayDemo(void)
|
||||
|
||||
demobuffer = demo_p = W_CacheLumpName (basename, PU_STATIC); // killough
|
||||
|
||||
// [FG] ignore empty demo lumps
|
||||
if (!demobuffer)
|
||||
// [FG] ignore too short demo lumps
|
||||
if (W_LumpLength(W_GetNumForName(basename)) < 0xd)
|
||||
{
|
||||
gameaction = ga_nothing;
|
||||
demoplayback = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user