mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-29 06:07:57 +03:00
Reduced compile warnings (especially on clang)
This commit is contained in:
parent
de40d640d5
commit
f9e7f344be
15 changed files with 60 additions and 56 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue