mirror of https://github.com/OpenTTD/OpenTTD
Fix: no fast forward in network was ensured only from GUI side (#11206)
parent
e8c49d3543
commit
2bf3c02fbf
|
@ -287,6 +287,8 @@ static CallBackFunction ToolbarPauseClick(Window *w)
|
||||||
*/
|
*/
|
||||||
static CallBackFunction ToolbarFastForwardClick(Window *w)
|
static CallBackFunction ToolbarFastForwardClick(Window *w)
|
||||||
{
|
{
|
||||||
|
if (_networking) return CBF_NONE; // no fast forward in network game
|
||||||
|
|
||||||
ChangeGameSpeed(_game_speed == 100);
|
ChangeGameSpeed(_game_speed == 100);
|
||||||
|
|
||||||
if (_settings_client.sound.click_beep) SndPlayFx(SND_15_BEEP);
|
if (_settings_client.sound.click_beep) SndPlayFx(SND_15_BEEP);
|
||||||
|
|
Loading…
Reference in New Issue