aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/items/itemdragger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pegasus/items/itemdragger.cpp')
-rwxr-xr-xengines/pegasus/items/itemdragger.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/pegasus/items/itemdragger.cpp b/engines/pegasus/items/itemdragger.cpp
index 79cd101e29..4e3a9f1419 100755
--- a/engines/pegasus/items/itemdragger.cpp
+++ b/engines/pegasus/items/itemdragger.cpp
@@ -129,9 +129,6 @@ void SpriteDragger::pinPointInRect(const Common::Rect &r, Common::Point &pt) {
ItemDragger::ItemDragger(PegasusEngine *owner) : _inventoryDropSpot(kInventoryDropSpotID), _biochipDropSpot(kBiochipDropSpotID),
_inventoryHighlight(kInventoryDropHighlightID), _biochipHighlight(kBiochipDropHighlightID) {
_owner = owner;
-
- _inventoryHighlight.setBounds(Common::Rect(76, 334, 172, 430));
- _biochipHighlight.setBounds(Common::Rect(364, 334, 460, 430));
Common::Rect r(kInventoryDropLeft, kInventoryDropTop, kInventoryDropRight, kInventoryDropBottom);
_inventoryDropSpot.setArea(r);
@@ -185,4 +182,9 @@ void ItemDragger::exitHotspot(Hotspot *spot) {
_draggingSprite->setCurrentFrameIndex(0);
}
+void ItemDragger::setHighlightBounds() {
+ _inventoryHighlight.setBounds(Common::Rect(76, 334, 172, 430));
+ _biochipHighlight.setBounds(Common::Rect(364, 334, 460, 430));
+}
+
} // End of namespace Pegasus