Remove UndocumentedFeature lua function. It has no legitimate purpose and just crashes with a message.

This commit is contained in:
Kyzentun Keeslala
2016-05-20 19:02:54 -06:00
parent 4361bcd7e3
commit 2b6768aed9
2 changed files with 0 additions and 3 deletions
-1
View File
@@ -191,7 +191,6 @@
<Function name='Trace'/>
<Function name='TrailToCustomDifficulty'/>
<Function name='URLEncode'/>
<Function name='UndocumentedFeature'/>
<Function name='UnlockRewardTypeToLocalizedString'/>
<Function name='update_centering'/>
<Function name='Var'/>
-2
View File
@@ -2436,8 +2436,6 @@ LuaFunction( mbstrlen, (int)RStringToWstring(SArg(1)).length() )
LuaFunction( URLEncode, URLEncode( SArg(1) ) );
LuaFunction( PrettyPercent, PrettyPercent( FArg(1), FArg(2) ) );
//LuaFunction( IsHexVal, IsHexVal( SArg(1) ) );
static bool UndocumentedFeature( RString s ){ sm_crash(s); return true; }
LuaFunction( UndocumentedFeature, UndocumentedFeature(SArg(1)) );
LuaFunction( lerp, lerp(FArg(1), FArg(2), FArg(3)) );
int LuaFunc_commify(lua_State* L);