added TransitionBGAnimation

This commit is contained in:
Chris Danford
2003-03-05 08:48:35 +00:00
parent d34102b717
commit 267fcec652
11 changed files with 169 additions and 32 deletions
+5 -1
View File
@@ -255,7 +255,11 @@ void Sprite::DrawPrimitives()
/* Draw if we're not fully transparent or the zbuffer is enabled (which ignores
* alpha). */
if( m_temp.diffuse[0].a != 0 || DISPLAY->ZBufferEnabled())
if( m_temp.diffuse[0].a > 0 ||
m_temp.diffuse[1].a > 0 ||
m_temp.diffuse[2].a > 0 ||
m_temp.diffuse[3].a > 0 ||
DISPLAY->ZBufferEnabled() )
{
//////////////////////
// render the shadow