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

sev- noreply at scummvm.org
Thu Mar 30 11:57:00 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:
b6b2a95eaf MM: MM1: Fix compilation


Commit: b6b2a95eaf68de6e1910c9fe64cc193ca5029a94
    https://github.com/scummvm/scummvm/commit/b6b2a95eaf68de6e1910c9fe64cc193ca5029a94
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-03-30T13:56:43+02:00

Commit Message:
MM: MM1: Fix compilation

Changed paths:
    engines/mm/mm1/game/use_item.cpp


diff --git a/engines/mm/mm1/game/use_item.cpp b/engines/mm/mm1/game/use_item.cpp
index 8ea271f85df..77f8ed025a2 100644
--- a/engines/mm/mm1/game/use_item.cpp
+++ b/engines/mm/mm1/game/use_item.cpp
@@ -56,7 +56,7 @@ Common::String UseItem::combatUseItem(Inventory &inv, Inventory::Entry &invEntry
 
 				g_globals->_party.updateAC();
 				msg = STRING["dialogs.character.use_combat.done"];
-				return false;
+				return "";
 			}
 		} else {
 			msg = STRING["dialogs.character.use_combat.no_charges_left"];
@@ -97,7 +97,7 @@ Common::String UseItem::nonCombatUseItem(Inventory &inv, Inventory::Entry &invEn
 
 				g_globals->_party.updateAC();
 				msg = STRING["spells.done"];
-				return false;
+				return "";
 			}
 		} else {
 			msg = STRING["dialogs.character.use_noncombat.no_charges_left"];




More information about the Scummvm-git-logs mailing list