projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bug with playing two global game sounds as game element sounds
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index a2afc3e3cb157c61f468c2a71132609667895563..8d713df727b83175c5b3a6a0f500fa1d0b76c632 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-13998,7
+13998,8
@@
void BuryPlayer(struct PlayerInfo *player)
return;
PlayLevelSoundElementAction(jx, jy, player->artwork_element, ACTION_DYING);
return;
PlayLevelSoundElementAction(jx, jy, player->artwork_element, ACTION_DYING);
- PlayLevelSound(jx, jy, SND_GAME_LOSING);
+
+ PlaySound(SND_GAME_LOSING);
RemovePlayer(player);
RemovePlayer(player);
@@
-14656,7
+14657,7
@@
static int DigField(struct PlayerInfo *player,
LevelSolved();
LevelSolved();
- Play
LevelSound(x, y,
SND_GAME_SOKOBAN_SOLVING);
+ Play
Sound(
SND_GAME_SOKOBAN_SOLVING);
}
}
else
}
}
else