diff --git a/source/Core.cpp b/source/Core.cpp index e929eb4b..ec5dbe40 100644 --- a/source/Core.cpp +++ b/source/Core.cpp @@ -745,7 +745,7 @@ Reference< CBlip > Core::NewBlip(SQInt32 index, SQInt32 world, SQFloat x, SQFloa // ------------------------------------------------------------------------------------------------ Reference< CCheckpoint > Core::NewCheckpoint(SQInt32 player, SQInt32 world, SQFloat x, SQFloat y, SQFloat z, - SQUint32 r, SQUint32 g, SQUint32 b, SQUint32 a, SQFloat radius, + Uint8 r, Uint8 g, Uint8 b, Uint8 a, SQFloat radius, SQInt32 header, SqObj & payload) noexcept { // See if the specified player reference is valid @@ -815,7 +815,7 @@ Reference< CPickup > Core::NewPickup(SQInt32 model, SQInt32 world, SQInt32 quant // ------------------------------------------------------------------------------------------------ Reference< CSphere > Core::NewSphere(SQInt32 player, SQInt32 world, SQFloat x, SQFloat y, SQFloat z, - SQUint32 r, SQUint32 g, SQUint32 b, SQFloat radius, + Uint8 r, Uint8 g, Uint8 b, SQFloat radius, SQInt32 header, SqObj & payload) noexcept { // See if the specified player reference is valid diff --git a/source/Core.hpp b/source/Core.hpp index 9cdc8bff..24475024 100644 --- a/source/Core.hpp +++ b/source/Core.hpp @@ -189,7 +189,7 @@ public: * Creates a new Checkpoint on the server */ Reference< CCheckpoint > NewCheckpoint(SQInt32 player, SQInt32 world, SQFloat x, SQFloat y, SQFloat z, - SQUint32 r, SQUint32 g, SQUint32 b, SQUint32 a, SQFloat radius, + Uint8 r, Uint8 g, Uint8 b, Uint8 a, SQFloat radius, SQInt32 header, SqObj & payload) noexcept; /* -------------------------------------------------------------------------------------------- @@ -217,7 +217,7 @@ public: * Creates a new Sphere on the server */ Reference< CSphere > NewSphere(SQInt32 player, SQInt32 world, SQFloat x, SQFloat y, SQFloat z, - SQUint32 r, SQUint32 g, SQUint32 b, SQFloat radius, + Uint8 r, Uint8 g, Uint8 b, SQFloat radius, SQInt32 header, SqObj & payload) noexcept; /* --------------------------------------------------------------------------------------------