diff options
author | Zack Middleton <zturtleman@gmail.com> | 2015-06-28 18:02:48 -0500 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2016-04-07 11:02:29 +0100 |
commit | 86c35b23e4191e61af36b499aa4011b53f451b4a (patch) | |
tree | 193dc53ab534c119a4536c9d9b5a918e30241f46 | |
parent | 6ddb2859cfc94d5aa07d962f9ff3268094e4d6f9 (diff) |
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.
-rw-r--r-- | src/client/cl_cin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/cl_cin.c b/src/client/cl_cin.c index 78a237ed..74660ed5 100644 --- a/src/client/cl_cin.c +++ b/src/client/cl_cin.c @@ -95,8 +95,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; |