Skip to content

Commit

Permalink
Sound volume fix for kz_invis (#46)
Browse files Browse the repository at this point in the history
* Fixed SV_BuildSoundMsg: volume
  • Loading branch information
Psycrow101 committed Aug 6, 2023
1 parent f743f4b commit 121c188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/kreedz/kz_invis.sma
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public OnStartSound(
// continue;
// }

rh_emit_sound2(entity, i, channel, sample, float(volume), attenuation, fFlags, pitch);
rh_emit_sound2(entity, i, channel, sample, volume / 255.0, attenuation, fFlags, pitch);
}

return HC_SUPERCEDE;
Expand Down

0 comments on commit 121c188

Please sign in to comment.