- 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:
parent
06995e26d9
commit
19f5b1dea1
9 changed files with 14 additions and 16 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue