fix non-lua quads
This commit is contained in:
@@ -5,11 +5,13 @@
|
||||
|
||||
REGISTER_ACTOR_CLASS( Quad )
|
||||
|
||||
Quad::Quad()
|
||||
{
|
||||
Load( TEXTUREMAN->GetDefaultTextureID() );
|
||||
}
|
||||
|
||||
void Quad::LoadFromNode( const XNode* pNode )
|
||||
{
|
||||
Load( TEXTUREMAN->GetDefaultTextureID() );
|
||||
|
||||
// HACK: Bypass Sprite's texture loading. Sprite should really derive from Quad.
|
||||
Actor::LoadFromNode( pNode );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user