mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- SW: Change smoothratio
from int to double for storing returned result from CalcSmoothRatio()
with full precision.
This commit is contained in:
parent
e8faca52a2
commit
da2b1347ef
2 changed files with 3 additions and 2 deletions
|
@ -2205,8 +2205,9 @@ extern USER puser[MAX_SW_PLAYERS_REG];
|
|||
//
|
||||
///////////////////////////
|
||||
|
||||
extern int ototalclock, save_totalclock, gotlastpacketclock,smoothratio;
|
||||
extern int ototalclock, save_totalclock, gotlastpacketclock;
|
||||
extern SWBOOL ready2send;
|
||||
extern double smoothratio;
|
||||
|
||||
// local copy of variables updated by faketimerhandler
|
||||
extern int locselectedgun;
|
||||
|
|
|
@ -97,8 +97,8 @@ void GetSyncInfoFromPacket(uint8_t *packbuf, int packbufleng, int *j, int otherc
|
|||
|
||||
// when you set totalclock to 0 also set this one
|
||||
int ototalclock;
|
||||
int smoothratio;
|
||||
int save_totalclock;
|
||||
double smoothratio;
|
||||
|
||||
// must start out as 0
|
||||
|
||||
|
|
Loading…
Reference in a new issue