- Rewrote FName to use only POD types for its static data so that it can be used

without any explicit constructors being called.
- Fixed: ZTwinedTorchUnlit, ZWallTorchUnlit, ZFireBullUnlit, and ZCauldronUnlit
  were missing game filters.


SVN r79 (trunk)
This commit is contained in:
Randy Heit 2006-05-05 04:37:10 +00:00
commit e78385f807
5 changed files with 265 additions and 82 deletions

View file

@ -464,7 +464,7 @@ DObject::DObject ()
: ObjectFlags(0), Class(0)
{
if (FreeIndices.Pop (Index))
Objects[Index] = this;
Objects[(unsigned int)Index] = this;
else
Index = Objects.Push (this);
}
@ -473,7 +473,7 @@ DObject::DObject (TypeInfo *inClass)
: ObjectFlags(0), Class(inClass)
{
if (FreeIndices.Pop (Index))
Objects[Index] = this;
Objects[(unsigned int)Index] = this;
else
Index = Objects.Push (this);
}
@ -559,7 +559,7 @@ void DObject::RemoveFromArray ()
}
else if (Objects.Size() > Index)
{
Objects[Index] = NULL;
Objects[(unsigned int)Index] = NULL;
FreeIndices.Push (Index);
}
}