[Scummvm-git-logs] scummvm master -> c280079a57281a4992e76a187c6d0c3f15a39b0b

dreammaster noreply at scummvm.org
Sun Dec 24 09:04:13 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
c280079a57 M4: Teleport console cmd with no args shows current room


Commit: c280079a57281a4992e76a187c6d0c3f15a39b0b
    https://github.com/scummvm/scummvm/commit/c280079a57281a4992e76a187c6d0c3f15a39b0b
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2023-12-23T23:04:03-10:00

Commit Message:
M4: Teleport console cmd with no args shows current room

Changed paths:
    engines/m4/console.cpp


diff --git a/engines/m4/console.cpp b/engines/m4/console.cpp
index 8378c73d38e..407e7acfdd9 100644
--- a/engines/m4/console.cpp
+++ b/engines/m4/console.cpp
@@ -42,7 +42,7 @@ bool Console::cmdTeleport(int argc, const char **argv) {
 		_G(kernel).teleported_in = true;
 		return false;
 	} else {
-		debugPrintf("teleport <room number>\n");
+		debugPrintf("Currently in room %d\n", _G(game).room_id);
 		return true;
 	}
 }




More information about the Scummvm-git-logs mailing list