Fix Item Sense not working after map change.
This commit is contained in:
parent
09cfb25c30
commit
2ec0a9f060
2 changed files with 1 additions and 5 deletions
|
|
@ -1,2 +1,2 @@
|
|||
[default]
|
||||
SWWM_MODVER="\chSWWM \cwGZ\c- r486 (Sun 16 Aug 16:27:44 CEST 2020)";
|
||||
SWWM_MODVER="\chSWWM \cwGZ\c- r486 (Sun 16 Aug 17:39:19 CEST 2020)";
|
||||
|
|
|
|||
|
|
@ -54,7 +54,6 @@ Class Demolitionist : PlayerPawn
|
|||
|
||||
SWWMItemSense itemsense;
|
||||
int itemsense_cnt;
|
||||
int lastsense;
|
||||
|
||||
Default
|
||||
{
|
||||
|
|
@ -343,9 +342,6 @@ Class Demolitionist : PlayerPawn
|
|||
}
|
||||
void SenseItems()
|
||||
{
|
||||
if ( level.maptime < lastsense+5 )
|
||||
return;
|
||||
lastsense = level.maptime;
|
||||
let thesight = FindInventory("Omnisight");
|
||||
let bt = BlockThingsIterator.Create(self,1200);
|
||||
while ( bt.Next() )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue