MYST: Fix a cast warning

This commit is contained in:
Joel Teichroeb 2012-04-21 15:36:07 -07:00
parent 173846c3df
commit 34f07d99a6

View File

@ -294,7 +294,7 @@ DragItem::~DragItem() {
void DragItem::drawOverlay() {
Common::Rect textureRect = Common::Rect(_texture->width, _texture->height);
_vm->_gfx->drawTexturedRect2D(getPosition(), textureRect, _texture, 0.99);
_vm->_gfx->drawTexturedRect2D(getPosition(), textureRect, _texture, 0.99f);
}
void DragItem::setFrame(uint16 frame) {