summaryrefslogtreecommitdiff
path: root/src/sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound.h')
-rw-r--r--src/sound.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sound.h b/src/sound.h
index 92c0ab41a..de34a48f0 100644
--- a/src/sound.h
+++ b/src/sound.h
@@ -91,9 +91,7 @@ class Sound : public ConfigListener
*
* @param path The resource path to the sound file.
*/
- void playSfx(const std::string &path);
-
- void playSfx(const std::string &path, int x, int y);
+ void playSfx(const std::string &path, int x = 0, int y = 0);
/**
* Plays an item for gui.