- Fixed: PClass::CreateDerivedClass forgot to NULL FActorInfo::Replacee.

SVN r266 (trunk)
This commit is contained in:
Christoph Oelckers 2006-07-18 23:09:11 +00:00
parent f95e70654c
commit b1989b4d34
3 changed files with 5 additions and 1 deletions

View file

@ -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.

View file

@ -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;

View file

@ -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)
{