mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-29 13:00:43 +00:00
Fix crash during demo playback caused by a mistake in 5132b41f
This commit is contained in:
parent
a5085c3631
commit
ba4eb3f906
1 changed files with 1 additions and 1 deletions
|
@ -859,7 +859,7 @@ static int32_t getnumvar(const dataspec_t *spec)
|
||||||
{
|
{
|
||||||
int n = 0;
|
int n = 0;
|
||||||
for (; spec->flags != DS_END; spec++)
|
for (; spec->flags != DS_END; spec++)
|
||||||
if (spec->flags & (DS_STRING|DS_CMP|DS_NOCHK|DS_SAVEFN|DS_LOADFN))
|
if (!(spec->flags & (DS_STRING|DS_CMP|DS_NOCHK|DS_SAVEFN|DS_LOADFN)))
|
||||||
++n;
|
++n;
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue