Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarPlayer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/StarPlayer.hpp')
-rw-r--r--source/game/StarPlayer.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/game/StarPlayer.hpp b/source/game/StarPlayer.hpp
index c70c21e..1773d23 100644
--- a/source/game/StarPlayer.hpp
+++ b/source/game/StarPlayer.hpp
@@ -342,7 +342,7 @@ public:
bool inInteractionRange(Vec2F aimPos) const;
void addParticles(List<Particle> const& particles) override;
- void addSound(String const& sound, float volume = 1.0f) override;
+ void addSound(String const& sound, float volume = 1.0f, float pitch = 1.0f) override;
bool wireToolInUse() const;
void setWireConnector(WireConnector* wireConnector) const;
@@ -611,7 +611,7 @@ private:
List<RpcPromise<InteractAction>> m_pendingInteractActions;
List<Particle> m_callbackParticles;
- List<pair<String, float>> m_callbackSounds;
+ List<tuple<String, float, float>> m_callbackSounds;
List<String> m_queuedMessages;
List<ItemPtr> m_queuedItemPickups;