[Scummvm-git-logs] scummvm master -> 6baf0ee233a014d607bcf9fb0875ac6842e00f21

yuv422 noreply at scummvm.org
Wed Mar 12 21:07:35 UTC 2025


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:
6baf0ee233 NUVIE: End player's turn after casting a spell.


Commit: 6baf0ee233a014d607bcf9fb0875ac6842e00f21
    https://github.com/scummvm/scummvm/commit/6baf0ee233a014d607bcf9fb0875ac6842e00f21
Author: Eric Fry (yuv422 at reversedgames.com)
Date: 2025-03-13T08:06:37+11:00

Commit Message:
NUVIE: End player's turn after casting a spell.

Changed paths:
    engines/ultima/nuvie/core/magic.cpp


diff --git a/engines/ultima/nuvie/core/magic.cpp b/engines/ultima/nuvie/core/magic.cpp
index 2e9ea224057..eb8dc9eefdf 100644
--- a/engines/ultima/nuvie/core/magic.cpp
+++ b/engines/ultima/nuvie/core/magic.cpp
@@ -398,6 +398,7 @@ bool Magic::process_script_return(uint8 ret) {
 		delete magic_script;
 		magic_script = nullptr;
 		state = MAGIC_STATE_READY;
+		Game::get_game()->get_actor_manager()->startActors(); // end player turn
 		break;
 	case NUVIE_SCRIPT_GET_TARGET :
 		state = MAGIC_STATE_ACQUIRE_TARGET;




More information about the Scummvm-git-logs mailing list