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
@@ -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);
}