I use this simple piece of code
SOUND* hits_snd = "mix1.wav";
{
if (key_u ==1 )
snd_play(hits_snd,100,0);
}
The problem is that when i press the U key the sound plays but gets repeated when the key is still pressed. One key release it stops. So instead of playing the sound once it gives now a lot of noice echoes and not the sound that should be heared.
Any one ?
