- Fixed: Textures with dimensions <= 0 are invalid and should be treated as NULL

textures. They also must be set to dimensions other than (0,0) to avoid division
  by zero errors.
- Fixed: Random spawners did not handle the MF_DROPPED flag.


SVN r1602 (trunk)
This commit is contained in:
Christoph Oelckers 2009-05-24 07:58:57 +00:00
commit 8034b0558e
3 changed files with 17 additions and 2 deletions

View file

@ -80,6 +80,7 @@ class ARandomSpawner : public AActor
newmobj->target = target;
newmobj->tracer = tracer;
newmobj->CopyFriendliness(this, false);
if (!(flags & MF_DROPPED)) newmobj->flags &= ~MF_DROPPED;
// Special1 is used to count how many recursions we're in.
if (newmobj->IsKindOf(PClass::FindClass("RandomSpawner")))
newmobj->special1 = ++special1;