Update ai_cmd.c

fix comment according to zturtleman's old post in the relevant PR
This commit is contained in:
rawr51919 2023-08-12 16:00:19 -03:00 committed by GitHub
parent 2a8731186d
commit de0ebca4a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -208,7 +208,7 @@ float BotGetTime(bot_match_t *match) {
//match it to find out if the time is in seconds or minutes
if (trap_BotFindMatch(timestring, &timematch, MTCONTEXT_TIME)) {
if (timematch.type == MSG_FOREVER) {
t = FLT_MAX; // 3.402823466e+38 minutes
t = FLT_MAX; // 3.402823466e+38 seconds
}
else if (timematch.type == MSG_FORAWHILE) {
t = 10 * 60; // 10 minutes