| 133 | } |
| 134 | |
| 135 | void Sound::cacheReverb(bool state) |
| 136 | { |
| 137 | #if defined(USE_FMOD) |
| 138 | if (state) |
| 139 | { |
| 140 | system->getReverbProperties(&last_reverb_props); |
| 141 | setReverb(false); |
| 142 | } |
| 143 | else |
| 144 | { |
| 145 | system->setReverbProperties(&last_reverb_props); |
| 146 | } |
| 147 | #endif |
| 148 | } |
| 149 | |
| 150 | void Sound::update() |
| 151 | { |