From 34f07d99a64c0077a419d39ba05abb368db4c68b Mon Sep 17 00:00:00 2001 From: Joel Teichroeb Date: Sat, 21 Apr 2012 15:36:07 -0700 Subject: [PATCH] MYST: Fix a cast warning --- engines/myst3/inventory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/myst3/inventory.cpp b/engines/myst3/inventory.cpp index 0c8751389a4..8da83c8eb15 100644 --- a/engines/myst3/inventory.cpp +++ b/engines/myst3/inventory.cpp @@ -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) {