aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/items/biochips/biochipitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pegasus/items/biochips/biochipitem.cpp')
-rwxr-xr-xengines/pegasus/items/biochips/biochipitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/pegasus/items/biochips/biochipitem.cpp b/engines/pegasus/items/biochips/biochipitem.cpp
index a291a53d91..71065f1efe 100755
--- a/engines/pegasus/items/biochips/biochipitem.cpp
+++ b/engines/pegasus/items/biochips/biochipitem.cpp
@@ -34,7 +34,7 @@ namespace Pegasus {
BiochipItem::BiochipItem(const tItemID id, const tNeighborhoodID neighborhood, const tRoomID room, const tDirectionConstant direction) :
Item(id, neighborhood, room, direction) {
- PegasusEngine *vm = (PegasusEngine *)vm;
+ PegasusEngine *vm = (PegasusEngine *)g_engine;
Common::SeekableReadStream *biochipInfo = vm->_resFork->getResource(MKTAG('B', 'i', 'o', 'I'), kItemBaseResID + id);
if (biochipInfo) {