Try 1
if (p_volume > 1.0f) {
p_volume = 1.0f;
}
if (p_volume < 0.0f) {
p_volume = 0.0f;
}
m_volume = p_volume;
Effective All the instructions are there, but the test for 1 comes before the test for 0. The game would behave the same, but the bytes are not.