shithub: cstory

Download patch

ref: 337c81da4dd5af85a65b9207de360dabd233f5ac
parent: 63a8385c54644895ae67ecdcaea1fe4707a53d94
author: Gabriel Ravier <gabravier@gmail.com>
date: Sat Sep 21 14:48:12 EDT 2019

Changed GAME_FLAG_IS_CONTROL_ENABLED to GAME_FLAG_IS_CONTROL_DISABLED

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>

--- a/src/ArmsItem.cpp
+++ b/src/ArmsItem.cpp
@@ -461,7 +461,7 @@
 			}
 		}
 
-		if (g_GameFlags & GAME_FLAG_IS_CONTROL_ENABLED)
+		if (g_GameFlags & GAME_FLAG_IS_CONTROL_DISABLED)
 			MoveCampCursor();
 
 		switch (TextScriptProc())
@@ -479,7 +479,7 @@
 
 		if (gCampActive)
 		{
-			if (g_GameFlags & GAME_FLAG_IS_CONTROL_ENABLED && gKeyTrg & (gKeyCancel | gKeyItem))
+			if (g_GameFlags & GAME_FLAG_IS_CONTROL_DISABLED && gKeyTrg & (gKeyCancel | gKeyItem))
 			{
 				StopTextScript();
 				break;
--- a/src/Game.h
+++ b/src/Game.h
@@ -21,7 +21,7 @@
 	 * - Create a bullet if some other conditions are fullfilled while iterating over the stars in ActStar (If you have any idea of how that actually works, you may
 	 * want to replace this line with a better explanation)
 	 */
-	GAME_FLAG_IS_CONTROL_ENABLED = 2,
+	GAME_FLAG_IS_CONTROL_DISABLED = 2,
 
 	// To be continued
 };