1
0
forked from 0ad/0ad

remove testing code that makes clicks do strange things ;)

This was SVN commit r1242.
This commit is contained in:
janwas 2004-10-15 17:26:36 +00:00
parent 45ffe69f90
commit 1798a1ab1d

View File

@ -378,21 +378,6 @@ static int handler(const SDL_Event* ev)
break;
case SDL_MOUSEBUTTONDOWN:
c = ev->button.button;
{
Handle hs = snd_open("audio/nike.wav");
if(c==SDL_BUTTON_MIDDLE)
{
int ms = 30;
usleep(ms*1000);
}
else if(c==SDL_BUTTON_RIGHT)
{
int ms = rand()%32;
usleep(ms*1000);
}
snd_play(hs);
}
if( c < 5 )
mouseButtons[c] = true;
else