Sprite:Load lua function can set additional texture hints by having a second argument. Also, rec_count_children slipped in Utilities somehow. (#1426)

This commit is contained in:
Kyzentun
2017-04-04 18:24:14 -06:00
committed by Colby Klein
parent b4e02821e8
commit dd9fa68fef
2 changed files with 25 additions and 0 deletions
+5
View File
@@ -1076,6 +1076,11 @@ public:
else
{
RageTextureID ID( SArg(1) );
if(lua_isstring(L, 2))
{
RString additional_hints= SArg(2);
ID.AdditionalTextureHints= additional_hints;
}
p->Load( ID );
}
COMMON_RETURN_SELF;