Fix typo, it should say weather.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7411 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -44,7 +44,7 @@ DEFINE_SCREEN_SINGLETON( OptionsScreenVideo );
|
||||
// Look-up table for GFX levels
|
||||
const bool GFX_ANIM_KARTS[] = {false, true, true};
|
||||
const bool GFX [] = {false, false, true};
|
||||
const bool GFX_WHEATHER [] = {false, false, true};
|
||||
const bool GFX_WEATHER [] = {false, false, true};
|
||||
const int GFX_LEVEL_AMOUNT = 3;
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
@@ -221,7 +221,7 @@ void OptionsScreenVideo::init()
|
||||
{
|
||||
if (UserConfigParams::m_show_steering_animations == GFX_ANIM_KARTS[l] &&
|
||||
UserConfigParams::m_graphical_effects == GFX[l] &&
|
||||
UserConfigParams::m_wheather_effects == GFX_WHEATHER[l])
|
||||
UserConfigParams::m_weather_effects == GFX_WEATHER[l])
|
||||
{
|
||||
gfx->setValue(l+1);
|
||||
break;
|
||||
@@ -286,7 +286,7 @@ void OptionsScreenVideo::eventCallback(Widget* widget, const std::string& name,
|
||||
|
||||
UserConfigParams::m_show_steering_animations = GFX_ANIM_KARTS[level-1];
|
||||
UserConfigParams::m_graphical_effects = GFX[level-1];
|
||||
UserConfigParams::m_wheather_effects = GFX_WHEATHER[level-1];
|
||||
UserConfigParams::m_weather_effects = GFX_WEATHER[level-1];
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -985,7 +985,7 @@ void Track::loadTrackModel(World* parent, unsigned int mode_id)
|
||||
createPhysicsModel(main_track_count);
|
||||
if (UserConfigParams::m_track_debug) m_quad_graph->createDebugMesh();
|
||||
|
||||
if (UserConfigParams::m_wheather_effects && m_sky_particles != NULL)
|
||||
if (UserConfigParams::m_weather_effects && m_sky_particles != NULL)
|
||||
{
|
||||
const float x = (m_aabb_max.getX() + m_aabb_min.getX())/2.0f;
|
||||
const float z = (m_aabb_max.getZ() + m_aabb_min.getZ())/2.0f;
|
||||
|
||||
Reference in New Issue
Block a user