Added facingenemy def to Quakespasm

Re-enabled traceline to enemy on Quakespasm
This commit is contained in:
Tyler Young 2023-01-22 17:47:04 -05:00
parent 7e0b0b070a
commit c776eb42dd
2 changed files with 3 additions and 2 deletions

View file

@ -157,6 +157,7 @@ void end_sys_globals; // flag for structure dumping
.float Flash_Size; .float Flash_Size;
.float currentmag2; .float currentmag2;
.float maxspeed; .float maxspeed;
.float facingenemy;
.float renderGrayscale; .float renderGrayscale;
//.float scale; //.float scale;
void end_sys_fields; // flag for structure dumping void end_sys_fields; // flag for structure dumping

View file

@ -429,7 +429,7 @@ void() PlayerPostThink =
// Perform a traceline to keep track of entities directly // Perform a traceline to keep track of entities directly
// in front of the player. // in front of the player.
#ifndef QUAKESPASM //#ifndef QUAKESPASM
vector source; vector source;
@ -463,7 +463,7 @@ void() PlayerPostThink =
else else
self.facingenemy = false; self.facingenemy = false;
#endif // QUAKESPASM //#endif // QUAKESPASM
}; };
void() ClientKill = {}; void() ClientKill = {};