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:
mbjornstk
2011-01-14 03:40:26 +00:00
parent 7ae7fb5dfd
commit 634ba9fc94
2 changed files with 4 additions and 4 deletions

View File

@@ -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];
}

View File

@@ -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;