mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Fix formatting
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include "../thirdparty/dukglue/dukglue.h"
|
||||
|
||||
#include <duktape.h>
|
||||
|
||||
@@ -94,7 +94,6 @@ namespace OpenRCT2::Scripting
|
||||
dukglue_register_constructor<ScThing, rct_sprite*>(ctx, "Thing");
|
||||
dukglue_register_property(ctx, &ScThing::type_get, nullptr, "type");
|
||||
dukglue_register_property(ctx, &ScThing::x_get, &ScThing::x_set, "x");
|
||||
//dukglue_property_helper(ctx, _sprite->peep.x, "x");
|
||||
dukglue_register_property(ctx, &ScThing::y_get, &ScThing::y_set, "y");
|
||||
dukglue_register_property(ctx, &ScThing::z_get, &ScThing::z_set, "z");
|
||||
dukglue_register_property(ctx, &ScThing::tshirtColour_get, &ScThing::tshirtColour_set, "tshirtColour");
|
||||
|
||||
Reference in New Issue
Block a user