Const qualifier warning

This commit is contained in:
toaster 2022-10-31 23:24:23 +00:00
parent d52c77dba4
commit 8d2d926e70

View file

@ -6251,7 +6251,7 @@ void NetUpdate(void)
} }
else if (++dedicatedidle == DEDICATEDIDLETIME) else if (++dedicatedidle == DEDICATEDIDLETIME)
{ {
char *idlereason = "at round start"; const char *idlereason = "at round start";
if (leveltime > 3) if (leveltime > 3)
idlereason = va("for %d seconds", dedicatedidle/TICRATE); idlereason = va("for %d seconds", dedicatedidle/TICRATE);