mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Use different output messages for deprecated methods versus functions.
--HG-- branch : minor
This commit is contained in:
@@ -173,7 +173,7 @@ int w_RevoluteJoint_getReferenceAngle(lua_State *L)
|
||||
|
||||
int w_RevoluteJoint_hasLimitsEnabled(lua_State *L)
|
||||
{
|
||||
luax_markdeprecated(L, "RevoluteJoint:hasLimitsEnabled", DEPRECATED_RENAMED, "RevoluteJoint:areLimitsEnabled");
|
||||
luax_markdeprecated(L, "RevoluteJoint:hasLimitsEnabled", API_METHOD, DEPRECATED_RENAMED, "RevoluteJoint:areLimitsEnabled");
|
||||
return w_RevoluteJoint_areLimitsEnabled(L);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user