mirror of
https://github.com/AxioDL/amuse.git
synced 2025-12-08 21:17:49 +00:00
Better CMake dependency handling
This commit is contained in:
@@ -292,11 +292,11 @@ bool SoundMacro::CmdLoop::Do(SoundMacroState& st, Voice& vox) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
uint32_t useTimes = times;
|
||||
uint16_t useTimes = times;
|
||||
if (random)
|
||||
useTimes = vox.getEngine().nextRandom() % times;
|
||||
|
||||
if (st.m_loopCountdown == -1 && useTimes != -1)
|
||||
if (st.m_loopCountdown == -1 && useTimes != 65535)
|
||||
st.m_loopCountdown = useTimes;
|
||||
|
||||
if (st.m_loopCountdown > 0) {
|
||||
|
||||
Reference in New Issue
Block a user