fix damage indicator overflow after fastforward

break up shiftgametime() time jumps into 5-second jumps and five 1-second
jumps for the last five seconds

rename respawnoffset to lastdeath (because that's what it is)
rename clientside nextmillis to skipmillis (because that's what it does)
This commit is contained in:
ac-stef
2017-05-13 03:46:00 +02:00
parent e093b9f215
commit cf55e54faa
8 changed files with 20 additions and 19 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ extern int unsavededits;
extern vector<entity> ents; // map entities
extern vector<int> eh_ents; // edithide entities
extern vec worldpos, camup, camright, camdir; // current target of the crosshair in the world
extern int lastmillis, totalmillis, nextmillis; // last time
extern int lastmillis, totalmillis, skipmillis; // last time
extern int curtime; // current frame time
extern int interm;
extern int gamemode, nextmode;