1
0
Fork 0

better always use style[0] (again). Otherise *-set.xml can't easily change

background/font
This commit is contained in:
mfranz 2006-06-06 17:30:49 +00:00
parent 88beabb2d3
commit c5e74d090a

View file

@ -67,7 +67,7 @@ void fgSplashInit ( const char *splash_texture ) {
int which = fgGetInt("/sim/gui/current-style", 0);
SGPropertyNode *sim = fgGetNode("/sim/gui", true);
style = sim->getChild("style", which);
style = sim->getChild("style", 0/*which*/); // always use style[0]?
if (!style)
style = sim->getChild("style", 0, true);