Changed GAME_FLAG_IS_CONTROL_ENABLED to GAME_FLAG_IS_CONTROL_DISABLED

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
Gabriel Ravier 2019-09-21 18:48:12 +02:00
parent 63a8385c54
commit 337c81da4d
No known key found for this signature in database
GPG key ID: 1E75F156884F3DCE
2 changed files with 3 additions and 3 deletions

View file

@ -461,7 +461,7 @@ int CampLoop()
} }
} }
if (g_GameFlags & GAME_FLAG_IS_CONTROL_ENABLED) if (g_GameFlags & GAME_FLAG_IS_CONTROL_DISABLED)
MoveCampCursor(); MoveCampCursor();
switch (TextScriptProc()) switch (TextScriptProc())
@ -479,7 +479,7 @@ int CampLoop()
if (gCampActive) 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(); StopTextScript();
break; break;

View file

@ -21,7 +21,7 @@ enum GameFlagsValues
* - 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 * - 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) * want to replace this line with a better explanation)
*/ */
GAME_FLAG_IS_CONTROL_ENABLED = 2, GAME_FLAG_IS_CONTROL_DISABLED = 2,
// To be continued // To be continued
}; };