clean up STYLE_TECHNO_VERSUS8 hack: Sprite really should not

be depending on GameState
This commit is contained in:
Glenn Maynard
2004-06-08 22:27:37 +00:00
parent f482a18a37
commit aea0a41a68
6 changed files with 27 additions and 12 deletions
+9
View File
@@ -417,6 +417,15 @@ bool ArrowsNeedZBuffer( PlayerNumber pn )
return false;
}
float ArrowGetZoom( PlayerNumber pn )
{
/* Hack: make STYLE_TECHNO_VERSUS8 fit. */
if( GAMESTATE->m_CurGame == GAME_TECHNO &&
GAMESTATE->m_CurStyle == STYLE_TECHNO_VERSUS8 )
return 0.8f;
return 1.0f;
}
/*
* (c) 2001-2004 Chris Danford
* All rights reserved.