mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Fix return value counts...
This commit is contained in:
@@ -665,7 +665,7 @@ int World::rayCastAny(lua_State *L)
|
||||
lua_pushnumber(L, raycast.hitNormal.x);
|
||||
lua_pushnumber(L, raycast.hitNormal.y);
|
||||
lua_pushnumber(L, raycast.hitFraction);
|
||||
return 5;
|
||||
return 6;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
@@ -694,7 +694,7 @@ int World::rayCastClosest(lua_State *L)
|
||||
lua_pushnumber(L, raycast.hitNormal.x);
|
||||
lua_pushnumber(L, raycast.hitNormal.y);
|
||||
lua_pushnumber(L, raycast.hitFraction);
|
||||
return 5;
|
||||
return 6;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user