More warning cleanup (type to type conversion warnings).

This commit is contained in:
wrenczes@gmail.com
2011-06-02 06:14:28 +00:00
parent 4018d17370
commit 90b1058ad5
13 changed files with 26 additions and 18 deletions

View File

@@ -936,7 +936,7 @@ void ActionStack::Update(float dt)
extraTime = 1;//we never want this int to be 0.
if (timer < 0)
timer = options[Options::INTERRUPT_SECONDS].number * extraTime;
timer = static_cast<float>(options[Options::INTERRUPT_SECONDS].number * extraTime);
timer -= dt;
if (timer < 0)
cancelInterruptOffer();