diff options
author | Stijn Buys <ingar@osirion.org> | 2010-10-09 22:05:46 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-10-09 22:05:46 +0000 |
commit | 43927cc52bdd7e44d62b0e6309612558f565b70f (patch) | |
tree | a3e9ccf69d6ab03c8444b78ac53d49529a52e675 /src/client/soundext.cc | |
parent | 0ecdd8bc98ba583bbee801b838d785c6f881d7df (diff) |
fix crash introduced with inventory transfer, buywindow credits indicator,
removed impulse drive initialization delay.
Diffstat (limited to 'src/client/soundext.cc')
-rw-r--r-- | src/client/soundext.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/soundext.cc b/src/client/soundext.cc index d05d20e..117c62d 100644 --- a/src/client/soundext.cc +++ b/src/client/soundext.cc @@ -227,7 +227,7 @@ void SoundExt::frame(float elapsed) pitch = 1.0f; } else { - if (state_engineeventbuffer == state_impulseloopbuffer) { + if ((state_engineeventbuffer == state_impulsestartbuffer) || (state_engineeventbuffer == state_impulseloopbuffer)) { audio::update_source(state_engineeventsource, entity->location() - entity->axis().forward() * r , entity->axis().forward() * speed); |