More type conversion warning cleanup.

This commit is contained in:
wrenczes@gmail.com
2010-11-07 12:00:23 +00:00
parent 5d907f5abe
commit a053c0d59e
10 changed files with 28 additions and 28 deletions

View File

@@ -198,7 +198,7 @@ bool CardSelector::CheckUserInput(int x, int y)
return true;
}
Target* oldactive = active;
active = closest<True>(cards, limitor, x, y);
active = closest<True>(cards, limitor, static_cast<float>(x), static_cast<float>(y));
if (active != oldactive) {
CardView::SelectorZone oldowner, owner;