mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-20 21:25:42 +00:00
Fix switch on float error
This commit is contained in:
parent
e71722bbe9
commit
89c2abb5f1
@ -627,7 +627,7 @@ diffBots_loop()
|
|||||||
if ( !player is_bot() )
|
if ( !player is_bot() )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
player.pers["bots"]["skill"]["base"] = clamp(player.pers["bots"]["skill"]["base"], GetDvarInt("bots_skill_min"), GetDvarInt("bots_skill_max"));
|
player.pers["bots"]["skill"]["base"] = int(clamp(player.pers["bots"]["skill"]["base"], GetDvarInt("bots_skill_min"), GetDvarInt("bots_skill_max")));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user