E11 Blaster Rifle Scope

also a small change to allow proper rendering of the view when controlling an NPC that isn't a droid
This commit is contained in:
Simon 2022-11-16 21:12:28 +00:00
parent d450d55dc8
commit c372dd455b
13 changed files with 129 additions and 31 deletions

View file

@ -606,7 +606,7 @@ typedef struct {
*/
#define ANGLE2SHORT(x) ((int)((x)*65536/360) & 65535)
#define SHORT2ANGLE(x) ((x)*(360.0/65536))
#define SHORT2ANGLE(x) ((x)*(360.0f/65536))
#define SNAPFLAG_RATE_DELAYED 1
#define SNAPFLAG_NOT_ACTIVE 2 // snapshot used during connection and for zombies