diff options
Diffstat (limited to 'engines/pegasus/items/inventory/keycard.cpp')
-rwxr-xr-x | engines/pegasus/items/inventory/keycard.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/pegasus/items/inventory/keycard.cpp b/engines/pegasus/items/inventory/keycard.cpp index 53a3f67e00..c818b6675b 100755 --- a/engines/pegasus/items/inventory/keycard.cpp +++ b/engines/pegasus/items/inventory/keycard.cpp @@ -28,7 +28,7 @@ namespace Pegasus { -KeyCard::KeyCard(const tItemID id, const tNeighborhoodID neighborhood, const tRoomID room, const tDirectionConstant direction) : +KeyCard::KeyCard(const ItemID id, const NeighborhoodID neighborhood, const RoomID room, const DirectionConstant direction) : InventoryItem(id, neighborhood, room, direction) { setItemState(kFlashlightOff); } @@ -40,7 +40,7 @@ void KeyCard::toggleItemState() { setItemState(kFlashlightOff); } -void KeyCard::setItemState(const tItemState newState) { +void KeyCard::setItemState(const ItemState newState) { if (newState != getItemState()) { InventoryItem::setItemState(newState); ((PegasusEngine *)g_engine)->checkFlashlight(); |