Use different output messages for deprecated methods versus functions.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-08-27 16:55:33 -03:00
parent 3128a127cf
commit fcd9f1526c
10 changed files with 43 additions and 20 deletions
@@ -180,7 +180,7 @@ int w_PrismaticJoint_getReferenceAngle(lua_State *L)
int w_PrismaticJoint_hasLimitsEnabled(lua_State *L)
{
luax_markdeprecated(L, "PrismaticJoint:hasLimitsEnabled", DEPRECATED_RENAMED, "PrismaticJoint:areLimitsEnabled");
luax_markdeprecated(L, "PrismaticJoint:hasLimitsEnabled", API_METHOD, DEPRECATED_RENAMED, "PrismaticJoint:areLimitsEnabled");
return w_PrismaticJoint_areLimitsEnabled(L);
}