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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user