mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 23:12:24 +00:00
Merge branch 'master' of https://github.com/rheit/zdoom
This commit is contained in:
commit
f054f626d2
1 changed files with 1 additions and 1 deletions
|
@ -2393,7 +2393,7 @@ void FBehavior::LoadScriptsDirectory ()
|
||||||
int size = LittleLong(scripts.dw[1]);
|
int size = LittleLong(scripts.dw[1]);
|
||||||
if (size >= 6)
|
if (size >= 6)
|
||||||
{
|
{
|
||||||
int script_num = LittleShort(scripts.w[4]);
|
int script_num = LittleShort(scripts.sw[4]);
|
||||||
ScriptPtr *ptr = const_cast<ScriptPtr *>(FindScript(script_num));
|
ScriptPtr *ptr = const_cast<ScriptPtr *>(FindScript(script_num));
|
||||||
if (ptr != NULL)
|
if (ptr != NULL)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue