mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
'improved' Miles sound duration bug workaround
This commit is contained in:
parent
dda906ce1c
commit
d64957ffee
@ -35,7 +35,10 @@ class SoundInterval(Interval):
|
||||
if (duration == 0):
|
||||
self.notify.warning('zero length duration!')
|
||||
# MPG - hack for Miles bug
|
||||
duration += 1.5
|
||||
#duration += 1.5
|
||||
# DCR - hack for Miles bug - adding 1.5 seconds caused
|
||||
# problems for MG_neg_buzzer.wav
|
||||
duration += min(duration * 0.4, 1.5)
|
||||
else:
|
||||
# This will screw up any intervals that base their
|
||||
# time on the duration of this sound interval
|
||||
|
Loading…
x
Reference in New Issue
Block a user