- scriptified a few more of the simpler powerups.

This commit is contained in:
Christoph Oelckers 2016-12-31 01:08:09 +01:00
commit 267b1842b4
5 changed files with 136 additions and 193 deletions

View file

@ -3050,7 +3050,7 @@ void AM_Drawer ()
return;
bool allmap = (level.flags2 & LEVEL2_ALLMAP) != 0;
bool allthings = allmap && players[consoleplayer].mo->FindInventory(RUNTIME_CLASS(APowerScanner), true) != NULL;
bool allthings = allmap && players[consoleplayer].mo->FindInventory(PClass::FindActor(NAME_PowerScanner), true) != nullptr;
if (am_portaloverlay)
{