diff options
author | Matthew Hoops | 2011-09-08 13:11:38 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-09-08 13:11:38 -0400 |
commit | 715c95ecfc30f53bdf2f35ab883654ea80ee154b (patch) | |
tree | 71529c87489ab7a3f3ed8fd8c17907e38e02b6d6 /engines/pegasus/items/biochips | |
parent | ecd81a9a6d84e74fa89b0905620bcc342ef68da5 (diff) | |
download | scummvm-rg350-715c95ecfc30f53bdf2f35ab883654ea80ee154b.tar.gz scummvm-rg350-715c95ecfc30f53bdf2f35ab883654ea80ee154b.tar.bz2 scummvm-rg350-715c95ecfc30f53bdf2f35ab883654ea80ee154b.zip |
PEGASUS: Fix stupid bugs in the item code
Diffstat (limited to 'engines/pegasus/items/biochips')
-rwxr-xr-x | engines/pegasus/items/biochips/biochipitem.cpp | 2 |
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) { |