diff --git a/src/dobject.h b/src/dobject.h index d6bae3dad1..60668ceec1 100644 --- a/src/dobject.h +++ b/src/dobject.h @@ -609,6 +609,13 @@ protected: } }; +//Initial list +VMEXPORTED_NATIVES_START + VMEXPORTED_NATIVES_FUNC(Destroy) + VMEXPORTED_NATIVES_FUNC(Tick) + VMEXPORTED_NATIVES_FUNC(DropInventory) +VMEXPORTED_NATIVES_END + class AInventory;// template @@ -672,13 +679,6 @@ ClassReg DVMObject::RegistrationInfo = }; template _DECLARE_TI(DVMObject) -//Initial list -VMEXPORTED_NATIVES_START - VMEXPORTED_NATIVES_FUNC(Destroy) - VMEXPORTED_NATIVES_FUNC(Tick) - VMEXPORTED_NATIVES_FUNC(DropInventory) -VMEXPORTED_NATIVES_END - VMEXPORT_NATIVES_START(DObject, void) VMEXPORT_NATIVES_FUNC(Destroy) VMEXPORT_NATIVES_END(DObject)