Tested and fixed error reporting for NoteSkinManager. Changed Sprite::Sprite() to load the default texture.
This commit is contained in:
@@ -32,6 +32,9 @@ Sprite::Sprite()
|
||||
|
||||
m_fTexCoordVelocityX = 0;
|
||||
m_fTexCoordVelocityY = 0;
|
||||
|
||||
// An uninitialized sprite should be valid to display. -Kyz
|
||||
Load(TEXTUREMAN->GetDefaultTextureID());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user