aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he
diff options
context:
space:
mode:
authorEugene Sandulenko2019-10-30 10:19:21 +0100
committerEugene Sandulenko2019-10-30 10:19:58 +0100
commitf8272de0ed8f44e9876b3a7e103380577a82fedb (patch)
tree13f5651b952a2183a6cb5765bbf1f1e9e9de6062 /engines/scumm/he
parentdcab6674f1c55b078bf692f7338dd8de6e637d2c (diff)
downloadscummvm-rg350-f8272de0ed8f44e9876b3a7e103380577a82fedb.tar.gz
scummvm-rg350-f8272de0ed8f44e9876b3a7e103380577a82fedb.tar.bz2
scummvm-rg350-f8272de0ed8f44e9876b3a7e103380577a82fedb.zip
SCUMM HE: MBC: Implement whoSentThis()
Diffstat (limited to 'engines/scumm/he')
-rw-r--r--engines/scumm/he/moonbase/net_main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/he/moonbase/net_main.cpp b/engines/scumm/he/moonbase/net_main.cpp
index 7095912224..ffbdd16ea3 100644
--- a/engines/scumm/he/moonbase/net_main.cpp
+++ b/engines/scumm/he/moonbase/net_main.cpp
@@ -118,8 +118,8 @@ int Net::removeUser() {
}
int Net::whoSentThis() {
- warning("STUB: Net::whoSentThis()"); // PN_WhoSentThis
- return 0;
+ debug(1, "Net::whoSentThis()"); // PN_WhoSentThis
+ return _packetdata->child("from")->asIntegerNumber();
}
int Net::whoAmI() {