mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-25 23:00:23 +01:00
Reduced compile warnings (especially on clang)
This commit is contained in:
1 parent
de40d640d5
commit
f9e7f344be
15 files changed
+60
-56
No files matched your search
@@ -4837,8 +4837,8 @@ void ScriptThread::FadeSound
|
||||
|
||||
time = delaytime * 1000.0f;
|
||||
|
||||
gi.SendServerCommand( player != NULL ? player->edict - g_entities : NULL,
|
||||
"fadesound2 %0.2f %f", time, min_vol );
|
||||
gi.SendServerCommand(player != nullptr ? player->edict - g_entities : 0,
|
||||
"fadesound2 %0.2f %f", time, min_vol);
|
||||
}
|
||||
|
||||
void ScriptThread::RestoreSound
|
||||
|
||||
Reference in new issue
Block a user