[Scummvm-git-logs] scummvm branch-2-9 -> 5ad53ef627f9503520fd60f2d722a9189cebd432

dreammaster noreply at scummvm.org
Mon Nov 18 06:52:33 UTC 2024


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:
5ad53ef627 M4: Fix setting verb when adding custom hotspots


Commit: 5ad53ef627f9503520fd60f2d722a9189cebd432
    https://github.com/scummvm/scummvm/commit/5ad53ef627f9503520fd60f2d722a9189cebd432
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2024-11-17T22:52:22-08:00

Commit Message:
M4: Fix setting verb when adding custom hotspots

Changed paths:
    engines/m4/adv_r/adv_hotspot.cpp


diff --git a/engines/m4/adv_r/adv_hotspot.cpp b/engines/m4/adv_r/adv_hotspot.cpp
index 0a8a62dc095..57917226714 100644
--- a/engines/m4/adv_r/adv_hotspot.cpp
+++ b/engines/m4/adv_r/adv_hotspot.cpp
@@ -180,7 +180,7 @@ HotSpotRec *hotspot_add_dynamic(const char *verb, const char *noun,
 		error("hotspot_new failed");
 
 	hotspot_newVocab(hotspot, noun);
-	hotspot_newVocab(hotspot, verb);
+	hotspot_newVerb(hotspot, verb);
 	hotspot->feet_x = walkto_x;
 	hotspot->feet_y = walkto_y;
 	hotspot->cursor_number = cursor;




More information about the Scummvm-git-logs mailing list