mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +00:00
Merge branch 'master' into openal
This commit is contained in:
commit
a23afbd7ce
2 changed files with 3 additions and 3 deletions
|
@ -1562,7 +1562,7 @@ void FBehavior::StaticSerializeModuleStates (FArchive &arc)
|
||||||
|
|
||||||
if (modnum != StaticModules.Size())
|
if (modnum != StaticModules.Size())
|
||||||
{
|
{
|
||||||
I_Error ("Level was saved with a different number of ACS modules.");
|
I_Error("Level was saved with a different number of ACS modules. (Have %d, save has %d)", StaticModules.Size(), modnum);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (modnum = 0; modnum < StaticModules.Size(); ++modnum)
|
for (modnum = 0; modnum < StaticModules.Size(); ++modnum)
|
||||||
|
@ -1583,7 +1583,7 @@ void FBehavior::StaticSerializeModuleStates (FArchive &arc)
|
||||||
if (stricmp (modname, module->ModuleName) != 0)
|
if (stricmp (modname, module->ModuleName) != 0)
|
||||||
{
|
{
|
||||||
delete[] modname;
|
delete[] modname;
|
||||||
I_Error ("Level was saved with a different set of ACS modules.");
|
I_Error("Level was saved with a different set or order of ACS modules. (Have %s, save has %s)", module->ModuleName, modname);
|
||||||
}
|
}
|
||||||
else if (ModSize != module->GetDataSize())
|
else if (ModSize != module->GetDataSize())
|
||||||
{
|
{
|
||||||
|
|
|
@ -4749,7 +4749,7 @@ AActor *P_SpawnMapThing (FMapThing *mthing, int position)
|
||||||
// [RH] sound sequence overriders
|
// [RH] sound sequence overriders
|
||||||
if (mentry->Type == NULL && mentry->Special == SMT_SSeqOverride)
|
if (mentry->Type == NULL && mentry->Special == SMT_SSeqOverride)
|
||||||
{
|
{
|
||||||
int type = mentry->Args[0];
|
int type = mthing->args[0];
|
||||||
if (type == 255) type = -1;
|
if (type == 255) type = -1;
|
||||||
if (type > 63)
|
if (type > 63)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue