X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fscripting%2Ffloating_image.hpp;h=68d82f0561703680ebadcd431e83dca7c086a2e0;hb=13c6f377301f91c8d79ab768ba97b5eb771ed624;hp=78f39df742f36438b4a310507250f8f3c82d0b67;hpb=cfa0b7de9edb5cc2cfe834dda6a254ce191986bc;p=supertux.git diff --git a/src/scripting/floating_image.hpp b/src/scripting/floating_image.hpp index 78f39df74..68d82f056 100644 --- a/src/scripting/floating_image.hpp +++ b/src/scripting/floating_image.hpp @@ -23,6 +23,7 @@ #ifndef SCRIPTING_API #define __suspend #include +#include "ref.hpp" class FloatingImage; typedef FloatingImage _FloatingImage; @@ -51,7 +52,7 @@ public: #ifndef SCRIPTING_API private: - _FloatingImage* floating_image; + Ref<_FloatingImage> floating_image; #endif };