May 9, 2006 (Changes by Graf Zahl)

- Fixed: If you want to use a name as the missile parameter for the basic
  attack functions the type search in DoAttack must be case insensitive.
- Fixed: APowerup::DoEffect must do more thorough checks before resetting
  the fixed colormap.


SVN r89 (trunk)
This commit is contained in:
Christoph Oelckers 2006-05-09 08:58:30 +00:00
commit ace3ed1188
6 changed files with 20 additions and 6 deletions

View file

@ -1158,6 +1158,7 @@ void FPatchTexture::GetDimensions ()
if (dummy.width <= 0 || dummy.height <= 0 || dummy.width > 2048 || dummy.height > 2048)
{
delete lump;
lump = Wads.ReopenLumpNum ( Wads.GetNumForName("-BADPATC") );
(*lump) >> dummy.width >> dummy.height;
}