Merge branch 'master' into jgrpp
# Conflicts: # src/core/bitmath_func.cpp # src/core/bitmath_func.hpp # src/core/geometry_type.hpp # src/game/game_text.hpp # src/graph_gui.cpp # src/pathfinder/npf/npf.cpp # src/script/api/script_text.cpp # src/spritecache.cpp # src/track_func.h
This commit is contained in:
@@ -651,6 +651,9 @@ static void MidiThreadProc()
|
||||
TransmitNotesOff(_buffer, block_time, cur_time);
|
||||
|
||||
MemSetT<byte>(channel_volumes, 127, lengthof(channel_volumes));
|
||||
/* Invalidate current volume. */
|
||||
current_volume = UINT8_MAX;
|
||||
last_volume_time = 0;
|
||||
|
||||
/* Take the current time plus the preload time as the music start time. */
|
||||
clock->GetTime(&playback_start_time);
|
||||
|
||||
Reference in New Issue
Block a user