Fixed sound bug and made things compile.

This commit is contained in:
Joel de Vahl 2007-07-24 08:49:03 +00:00
parent 40eaf9431b
commit cdc1655b33
2 changed files with 3 additions and 2 deletions

View file

@ -168,6 +168,7 @@ public:
channels[c].loop = loop;
channels[c].vol = vol * GLOBAL_VOLUME_SCALE;
channels[c].pan = pan;
channels[c].stop = -1;
channels[c].lerp = -1;
sound->last_played = time_get();
return c;

View file

@ -705,7 +705,7 @@ static int main_render()
{
inited = true;
client_serverbrowse_refresh();
client_serverbrowse_refresh(0);
}
static int scoll_index = 0, selected_index = -1;
@ -727,7 +727,7 @@ static int main_render()
static int refresh_button, join_button, quit_button;
if (ui_do_button(&refresh_button, "Refresh", 0, 20, 420, 170, 48, draw_teewars_button))
client_serverbrowse_refresh();
client_serverbrowse_refresh(0);
/*if (selected_index == -1)
{