- Removed the RUNTIME_TYPE macro. I just included it because MFC has one, but it's pretty

pointless here.

SVN r2267 (scripting)
This commit is contained in:
Randy Heit 2010-04-04 02:58:58 +00:00
commit 19f5b1dea1
9 changed files with 14 additions and 16 deletions

View file

@ -556,7 +556,7 @@ static void DrawOneWeapon(player_t * CPlayer, int x, int & y, AWeapon * weapon)
// Powered up weapons and inherited sister weapons are not displayed.
if (weapon->WeaponFlags & WIF_POWERED_UP) return;
if (weapon->SisterWeapon && weapon->IsKindOf(RUNTIME_TYPE(weapon->SisterWeapon))) return;
if (weapon->SisterWeapon && weapon->IsKindOf(weapon->SisterWeapon->GetClass())) return;
trans=0x6666;
if (CPlayer->ReadyWeapon)