aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--code/server/sv_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/server/sv_main.c b/code/server/sv_main.c
index ed07b87..8906d00 100644
--- a/code/server/sv_main.c
+++ b/code/server/sv_main.c
@@ -461,7 +461,7 @@ void SVC_RemoteCommand( netadr_t from, msg_t *msg ) {
// TTimo - https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=534
time = Com_Milliseconds();
- if (time<(lasttime+500)) {
+ if ( (unsigned)( time - lasttime ) < 500u ) {
return;
}
lasttime = time;