aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2011-09-29 22:30:35 -0400
committerMatthew Hoops2011-09-29 22:30:35 -0400
commit06e2dbaa43c4d2aacf4e21dda79ef6fbfa4d82fb (patch)
treeb49f45c5f63e285b6f76fbe257365959e8632dbe
parent821813e808453ba965872e36676daa5222c480a6 (diff)
downloadscummvm-rg350-06e2dbaa43c4d2aacf4e21dda79ef6fbfa4d82fb.tar.gz
scummvm-rg350-06e2dbaa43c4d2aacf4e21dda79ef6fbfa4d82fb.tar.bz2
scummvm-rg350-06e2dbaa43c4d2aacf4e21dda79ef6fbfa4d82fb.zip
PEGASUS: Fix stupid typo stopping the current biochip from being found
-rw-r--r--engines/pegasus/pegasus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/pegasus/pegasus.cpp b/engines/pegasus/pegasus.cpp
index 887a7ccc04..5fda8ccad4 100644
--- a/engines/pegasus/pegasus.cpp
+++ b/engines/pegasus/pegasus.cpp
@@ -1016,7 +1016,7 @@ bool PegasusEngine::itemInInventory(tItemID id) {
BiochipItem *PegasusEngine::getCurrentBiochip() {
if (g_interface)
- g_interface->getCurrentBiochip();
+ return g_interface->getCurrentBiochip();
return 0;
}