mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-26 19:00:43 +01:00
Fix spawnpoint metric for objective-based matches
This commit is contained in:
1 file changed
+1
-1
@@ -190,7 +190,7 @@ float SpawnpointMetric_Team(const vec3_t origin, DM_Team *dmTeam, const Player *
|
||||
|
||||
float SpawnpointMetric_Objective(const vec3_t origin, DM_Team *dmTeam, const Player *player)
|
||||
{
|
||||
return rand() * 0.0000000005f;
|
||||
return rand() / (float)RAND_MAX;
|
||||
}
|
||||
|
||||
CLASS_DECLARATION(Listener, DM_Team, NULL) {
|
||||
|
||||
Reference in new issue
Block a user