X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fscripting%2Fambient_sound.hpp;h=7fefdb363a1f570c8d0d9fc1d8dd86782724b113;hb=c38774eb23527f0e99a3d90e023ade6074100144;hp=2cff32c5d672793996dad8770f86b05c2875e677;hpb=e66a5fa8d047b05f784ee4f595d8895eff129fc3;p=supertux.git diff --git a/src/scripting/ambient_sound.hpp b/src/scripting/ambient_sound.hpp index 2cff32c5d..7fefdb363 100644 --- a/src/scripting/ambient_sound.hpp +++ b/src/scripting/ambient_sound.hpp @@ -13,11 +13,10 @@ public: #endif virtual void set_pos(float x, float y) = 0; - virtual float get_pos_x() = 0; - virtual float get_pos_y() = 0; + virtual float get_pos_x() const = 0; + virtual float get_pos_y() const = 0; }; } #endif -