diff options
| author | Johan Althoff <teetow@gmail.com> | 2007-07-13 21:22:45 +0000 |
|---|---|---|
| committer | Johan Althoff <teetow@gmail.com> | 2007-07-13 21:22:45 +0000 |
| commit | 519e644a6258b06ac1836b5da0a575205dd0dbea (patch) | |
| tree | bc6bb21fa308adc82e707917e0824ca565c8d9d8 /src/game/client | |
| parent | 64d55a22ee74f06738715858d2f88988b046ead0 (diff) | |
| download | zcatch-519e644a6258b06ac1836b5da0a575205dd0dbea.tar.gz zcatch-519e644a6258b06ac1836b5da0a575205dd0dbea.zip | |
fixed various warnings on windows
Diffstat (limited to 'src/game/client')
| -rw-r--r-- | src/game/client/menu.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/client/menu.cpp b/src/game/client/menu.cpp index c8c41e4b..acb4ebfb 100644 --- a/src/game/client/menu.cpp +++ b/src/game/client/menu.cpp @@ -1024,13 +1024,13 @@ static int editor_screen_render() // less if (ui_do_button((void *)(200 + i * 2), "", 0, 650, 35 * i + 10 + 15, 16, 16, draw_single_part_button, (void *)slider_big_arrow_left)) { - current_font->m_CharStartTable[(int)s[0]] -= 0.01; + current_font->m_CharStartTable[(int)s[0]] -= 0.01f; } // more if (ui_do_button((void *)(200 + i * 2 + 1), "", 0, 666, 35 * i + 10 + 15, 16, 16, draw_single_part_button, (void *)slider_big_arrow_right)) { - current_font->m_CharStartTable[(int)s[0]] += 0.01; + current_font->m_CharStartTable[(int)s[0]] += 0.01f; } char num[16]; @@ -1043,13 +1043,13 @@ static int editor_screen_render() // less if (ui_do_button((void *)(300 + i * 2), "", 0, 750, 35 * i + 10 + 15, 16, 16, draw_single_part_button, (void *)slider_big_arrow_left)) { - current_font->m_CharEndTable[(int)s[0]] -= 0.01; + current_font->m_CharEndTable[(int)s[0]] -= 0.01f; } // more if (ui_do_button((void *)(300 + i * 2 + 1), "", 0, 766, 35 * i + 10 + 15, 16, 16, draw_single_part_button, (void *)slider_big_arrow_right)) { - current_font->m_CharEndTable[(int)s[0]] += 0.01; + current_font->m_CharEndTable[(int)s[0]] += 0.01f; } sprintf(num, "(%f)", current_font->m_CharEndTable[(int)s[0]]); |