Make cinematic times be int like CL_ScaledMilliseconds
Cinematic's startTime and lastTime are always set from CL_ScaledMilliseconds which returns int and are converted back and forth to int and unsigned int. This fixes a warning that abs() is used on an unsigned int.
This commit is contained in:
1 parent
b27e0fbf95
commit
70eb1fa79e
1 file changed
+2
-2
@@ -94,8 +94,8 @@ typedef struct {
|
||||
qboolean looping, holdAtEnd, dirty, alterGameState, silent, shader;
|
||||
fileHandle_t iFile;
|
||||
e_status status;
|
||||
unsigned int startTime;
|
||||
unsigned int lastTime;
|
||||
int startTime;
|
||||
int lastTime;
|
||||
long tfps;
|
||||
long RoQPlayed;
|
||||
long ROQSize;
|
||||
|
||||
Reference in new issue
Block a user