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

@ -204,7 +204,7 @@ static void DoAttack (AActor *self, bool domelee, bool domissile)
}
else if (domissile && MissileName != NAME_None)
{
const TypeInfo * ti=TypeInfo::FindType(MissileName);
const TypeInfo * ti=TypeInfo::IFindType(MissileName);
if (ti)
{
// Although there is a P_SpawnMissileZ function its