[Scummvm-git-logs] scummvm master -> 001cd618765013ab658dc1bfd8569bc47ade9656
dreammaster
noreply at scummvm.org
Wed Jan 25 16:23:52 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:
001cd61876 MM: MM1: Another RiscOS compilation fix
Commit: 001cd618765013ab658dc1bfd8569bc47ade9656
https://github.com/scummvm/scummvm/commit/001cd618765013ab658dc1bfd8569bc47ade9656
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2023-01-25T08:23:31-08:00
Commit Message:
MM: MM1: Another RiscOS compilation fix
Changed paths:
engines/mm/mm1/maps/map11.cpp
diff --git a/engines/mm/mm1/maps/map11.cpp b/engines/mm/mm1/maps/map11.cpp
index 22b4974ae1d..3020d31ee5e 100644
--- a/engines/mm/mm1/maps/map11.cpp
+++ b/engines/mm/mm1/maps/map11.cpp
@@ -164,9 +164,10 @@ void Map11::selectDial(int dialIndex) {
[](const Common::KeyState &ks) {
if (ks.keycode >= Common::KEYCODE_a &&
ks.keycode <= Common::KEYCODE_z) {
+ Map11 &map = *static_cast<Map11 *>(g_maps->_currentMap);
g_events->close();
- static_cast<Map11 *>(g_maps->_currentMap)->setDialChar(ks.ascii);
- none160();
+ map.setDialChar(ks.ascii);
+ map.none160();
}
}
));
More information about the Scummvm-git-logs
mailing list