rearrange: games point to styles, not vice versa

This commit is contained in:
Glenn Maynard
2007-04-09 22:26:11 +00:00
parent 31174bded7
commit 2158a90bca
5 changed files with 1819 additions and 1659 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ void StyleID::FromStyle( const Style *p )
{
if( p )
{
sGame = p->m_pGame->m_szName;
sGame = GAMEMAN->GetGameForStyle(p)->m_szName;
sStyle = p->m_szName;
}
else