- fixed: Classes inherited from PowerScanner didn't work anymore.
SVN r2368 (trunk)
This commit is contained in:
parent
ec44397881
commit
b2cef54d72
3 changed files with 15 additions and 5 deletions
|
|
@ -2127,7 +2127,7 @@ void AM_Drawer ()
|
|||
return;
|
||||
|
||||
bool allmap = (level.flags2 & LEVEL2_ALLMAP) != 0;
|
||||
bool allthings = allmap && players[consoleplayer].mo->FindInventory<APowerScanner>() != NULL;
|
||||
bool allthings = allmap && players[consoleplayer].mo->FindInventory(RUNTIME_CLASS(APowerScanner), true) != NULL;
|
||||
|
||||
AM_initColors (viewactive);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue