X-Git-Url: https://git.jsancho.org/?p=lugaru.git;a=blobdiff_plain;f=Source%2FGameDraw.cpp;h=73e4dde153fc9fcdf39496d483db9fc86f5e75f2;hp=a24df6970c9e94e12155f46edc62130b19507cda;hb=380d8141271d6fa12954f6fe46e736315cffd594;hpb=3316a497b6dd2305f36099a92ae9a0a5e6a2cf7e diff --git a/Source/GameDraw.cpp b/Source/GameDraw.cpp index a24df69..73e4dde 100644 --- a/Source/GameDraw.cpp +++ b/Source/GameDraw.cpp @@ -597,7 +597,7 @@ int Game::DrawGLScene(StereoSide side) } text->glPrintOutlined(1, 0, 0, 1 - bonustime, 1024 / 2 - 10 * strlen(bonus_name), 768 / 16 + 768 * 4 / 5, bonus_name, 1, 2, 1024, 768); - string = to_string((int)bonusvalue); + string = to_string(bonusvalue); text->glPrintOutlined(1, 0, 0, 1 - bonustime, 1024 / 2 - 10 * string.size(), 768 / 16 - 20 + 768 * 4 / 5, string, 1, 2 * .8, 1024, 768); glColor4f(.5, .5, .5, 1);