Fix VM abort in Omnisight due to cvar name change.

More minimap tweakery.
Visual cheat input.
Add cheat to de-aggro monsters.
This commit is contained in:
Mari the Deer 2021-02-23 19:10:08 +01:00
commit 9460e3a13c
5 changed files with 87 additions and 19 deletions

View file

@ -1360,13 +1360,12 @@ Class SWWMSimpleTracker : Thinker
bool vipitem;
bool expired;
int lastupdate;
int sightcount;
ui double smoothalpha; // smoothened alpha, for ui
SWWMSimpleTracker prev, next;
void Update()
{
if ( !target ) return;
sightcount = min(20,sightcount+1);
radius = target.radius;
angle = target.angle;
pos = target.pos;