From 5f0dd7ba4c35ee65ec9fe88288448d16c41ad673 Mon Sep 17 00:00:00 2001 From: hikerstk Date: Mon, 15 Dec 2008 03:32:54 +0000 Subject: [PATCH] Removed VS compiler warning. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2675 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/items/bowling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/items/bowling.cpp b/src/items/bowling.cpp index 4f4fbd6c5..1229bf296 100644 --- a/src/items/bowling.cpp +++ b/src/items/bowling.cpp @@ -40,7 +40,7 @@ Bowling::Bowling(Kart *kart) : Flyable(kart, POWERUP_BOWLING, 50.0f /* mass */) } else { - int min_speed = m_speed*4; + float min_speed = m_speed*4.0f; /* make it go faster when throwing forward so the player doesn't catch up with the ball and explode by touching it */