mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-18 14:41:40 +00:00
- Fixed: PClass::CreateDerivedClass forgot to NULL FActorInfo::Replacee.
SVN r266 (trunk)
This commit is contained in:
parent
f95e70654c
commit
b1989b4d34
3 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
|||
July 17, 2006 (Changes by Graf Zahl)
|
||||
- Fixed: PClass::CreateDerivedClass forgot to NULL FActorInfo::Replacee.
|
||||
|
||||
July 16, 2006 (Changes by Graf Zahl)
|
||||
- Fixed: S_ClearSoundData cleared PlayerClasses instead of PlayerClassLookups.
|
||||
- Added NecroMage's submission for bitwise/shift assignment operators for ACS.
|
||||
|
|
|
@ -211,6 +211,7 @@ PClass *PClass::CreateDerivedClass (FName name, unsigned int size)
|
|||
info->OwnedStates = NULL;
|
||||
info->NumOwnedStates = 0;
|
||||
info->Replacement = NULL;
|
||||
info->Replacee = NULL;
|
||||
m_RuntimeActors.Push (type);
|
||||
}
|
||||
return type;
|
||||
|
|
|
@ -494,7 +494,7 @@ static int S_AddSound (const char *logicalname, int lumpnum)
|
|||
int S_AddPlayerSound (const char *pclass, int gender, int refid,
|
||||
const char *lumpname)
|
||||
{
|
||||
int lump;
|
||||
int lump=-1;
|
||||
|
||||
if (lumpname)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue