Revert change from GAME_FLAG_IS_CONTROL_ENABLED to GAME_FLAG_IS_CONTROL_DISABLED and clarify its documentation
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
parent
337c81da4d
commit
986ab280e4
2 changed files with 4 additions and 4 deletions
|
@ -461,7 +461,7 @@ int CampLoop()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_GameFlags & GAME_FLAG_IS_CONTROL_DISABLED)
|
if (g_GameFlags & GAME_FLAG_IS_CONTROL_ENABLED)
|
||||||
MoveCampCursor();
|
MoveCampCursor();
|
||||||
|
|
||||||
switch (TextScriptProc())
|
switch (TextScriptProc())
|
||||||
|
@ -479,7 +479,7 @@ int CampLoop()
|
||||||
|
|
||||||
if (gCampActive)
|
if (gCampActive)
|
||||||
{
|
{
|
||||||
if (g_GameFlags & GAME_FLAG_IS_CONTROL_DISABLED && gKeyTrg & (gKeyCancel | gKeyItem))
|
if (g_GameFlags & GAME_FLAG_IS_CONTROL_ENABLED && gKeyTrg & (gKeyCancel | gKeyItem))
|
||||||
{
|
{
|
||||||
StopTextScript();
|
StopTextScript();
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -7,7 +7,7 @@ enum GameFlagsValues
|
||||||
// To be continued
|
// To be continued
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* While this bit is set, the game will :
|
* While this bit is NOT set, the game will :
|
||||||
* - Disable manual movement of the character
|
* - Disable manual movement of the character
|
||||||
* - Disable shooting bullets
|
* - Disable shooting bullets
|
||||||
* - Disable shooting Curly's nemesis
|
* - Disable shooting Curly's nemesis
|
||||||
|
@ -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_DISABLED = 2,
|
GAME_FLAG_IS_CONTROL_ENABLED = 2,
|
||||||
|
|
||||||
// To be continued
|
// To be continued
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue