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:
parent
63a8385c54
commit
337c81da4d
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue