mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-14 08:30:49 +00:00
- Fixed: The length of the SFLG chunk was used incorrectly, resulting in erroneous flag setting
if such a chunk was present. SVN r3593 (trunk)
This commit is contained in:
parent
ec84437212
commit
142a15b9c6
1 changed files with 1 additions and 1 deletions
|
@ -1589,7 +1589,7 @@ void FBehavior::LoadScriptsDirectory ()
|
||||||
scripts.b = FindChunk (MAKE_ID('S','F','L','G'));
|
scripts.b = FindChunk (MAKE_ID('S','F','L','G'));
|
||||||
if (scripts.dw != NULL)
|
if (scripts.dw != NULL)
|
||||||
{
|
{
|
||||||
max = scripts.dw[1];
|
max = scripts.dw[1] / 4;
|
||||||
scripts.dw += 2;
|
scripts.dw += 2;
|
||||||
for (i = max; i > 0; --i, scripts.w += 2)
|
for (i = max; i > 0; --i, scripts.w += 2)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue