mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-12-25 01:00:43 -05:00
Merge branch 'main' into win-x64
This commit is contained in:
@@ -5788,7 +5788,7 @@ bool GuideBot::DoNotify(int me, tOSIRISEventInfo *data) {
|
||||
} else if (type == OBJ_ROBOT) {
|
||||
// 35% of the time, the buddy is happy enough to say something when
|
||||
// he hits a robot
|
||||
if (rand() > RAND_MAX * 0.65f) {
|
||||
if (rand() > static_cast<float>(RAND_MAX) * 0.65f) {
|
||||
DoMessage(TXT_GB_SHOOTROBOT, false, "GBotAcceptOrder1");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user