X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fobject%2Fambient_sound.cpp;h=730e7a72335adf68e2d3189906fb21b2d6634c84;hb=52a3f8441f744a7850f0235e30d32afbc7577e8a;hp=942ab9a267968a687f06ba7a8c449282b0717854;hpb=12a28b64dcce9c7ff706451b4f3aecd201cc8a5f;p=supertux.git diff --git a/src/object/ambient_sound.cpp b/src/object/ambient_sound.cpp index 942ab9a26..730e7a723 100644 --- a/src/object/ambient_sound.cpp +++ b/src/object/ambient_sound.cpp @@ -235,14 +235,14 @@ AmbientSound::draw(DrawingContext &) void AmbientSound::expose(HSQUIRRELVM vm, SQInteger table_idx) { - Scripting::AmbientSound* interface = static_cast (this); - expose_object(vm, table_idx, interface, name, false); + scripting::AmbientSound* _this = static_cast (this); + expose_object(vm, table_idx, _this, name, false); } void AmbientSound::unexpose(HSQUIRRELVM vm, SQInteger table_idx) { - Scripting::unexpose_object(vm, table_idx, name); + scripting::unexpose_object(vm, table_idx, name); } void @@ -264,6 +264,4 @@ AmbientSound::get_pos_y() const return position.y; } -IMPLEMENT_FACTORY(AmbientSound, "ambient_sound"); - /* EOF */