mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Fixed Object:typeOf for love.physics objects new to 0.8.0, removed vestigial ColorMode code
This commit is contained in:
@@ -47,8 +47,8 @@ template <typename T>
|
||||
static T *_getScalars(lua_State *L, int count, size_t &dimension)
|
||||
{
|
||||
dimension = 1;
|
||||
|
||||
T *values = new T[count];
|
||||
|
||||
for (int i = 0; i < count; ++i)
|
||||
{
|
||||
if (lua_isnumber(L, 3 + i))
|
||||
|
||||
Reference in New Issue
Block a user