diff options
| -rw-r--r-- | src/engine/client/snd.cpp | 1 | ||||
| -rw-r--r-- | src/game/client/menu.cpp | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/engine/client/snd.cpp b/src/engine/client/snd.cpp index 68b8d23f..974b6edd 100644 --- a/src/engine/client/snd.cpp +++ b/src/engine/client/snd.cpp @@ -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; diff --git a/src/game/client/menu.cpp b/src/game/client/menu.cpp index 4eef008c..373da6e6 100644 --- a/src/game/client/menu.cpp +++ b/src/game/client/menu.cpp @@ -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) { |