flip && operands
This commit is contained in:
@@ -84,7 +84,7 @@ void init_snd_tool(){
|
|||||||
|
|
||||||
void play_sound(snd_num_t which, sf::Time delay, bool force) { // if which < 0, play asynch
|
void play_sound(snd_num_t which, sf::Time delay, bool force) { // if which < 0, play asynch
|
||||||
std::shared_ptr<const sf::SoundBuffer> sndhandle;
|
std::shared_ptr<const sf::SoundBuffer> sndhandle;
|
||||||
if(!get_bool_pref("PlaySounds", true) && !force) {
|
if(!force && !get_bool_pref("PlaySounds", true)) {
|
||||||
if(which >= 0)
|
if(which >= 0)
|
||||||
sf::sleep(delay);
|
sf::sleep(delay);
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user