X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fscripting%2Fambient_sound.hpp;h=7fefdb363a1f570c8d0d9fc1d8dd86782724b113;hb=c38774eb23527f0e99a3d90e023ade6074100144;hp=b547b802bf8cab7bfea856697efd36d4922bbcdb;hpb=a113d3bd1feddd510e3b2852b0d42522735eee40;p=supertux.git diff --git a/src/scripting/ambient_sound.hpp b/src/scripting/ambient_sound.hpp index b547b802b..7fefdb363 100644 --- a/src/scripting/ambient_sound.hpp +++ b/src/scripting/ambient_sound.hpp @@ -13,8 +13,8 @@ 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; }; }