Proper case for olympiad start variable.

This commit is contained in:
MobiusDevelopment
2021-04-08 20:15:43 +00:00
parent 8962ec67be
commit 2b631bb377
21 changed files with 107 additions and 107 deletions

View File

@ -502,7 +502,7 @@ public class PlayerInstance extends Playable
/** Olympiad */
private boolean _inOlympiadMode = false;
private boolean _OlympiadStart = false;
private boolean _olympiadStart = false;
private int _olympiadGameId = -1;
private int _olympiadSide = -1;
@ -4067,7 +4067,7 @@ public class PlayerInstance extends Playable
party.broadcastToPartyMembers(this, partyWindow);
}
if (_inOlympiadMode && _OlympiadStart && (needCpUpdate || needHpUpdate))
if (_inOlympiadMode && _olympiadStart && (needCpUpdate || needHpUpdate))
{
final OlympiadGameTask game = OlympiadGameManager.getInstance().getOlympiadTask(getOlympiadGameId());
if ((game != null) && game.isBattleStarted())
@ -8147,7 +8147,7 @@ public class PlayerInstance extends Playable
// Check if the attacker is in olympia and olympia start
if (attacker.isPlayer() && attacker.getActingPlayer().isInOlympiadMode())
{
if (_inOlympiadMode && _OlympiadStart && (((PlayerInstance) attacker).getOlympiadGameId() == getOlympiadGameId()))
if (_inOlympiadMode && _olympiadStart && (((PlayerInstance) attacker).getOlympiadGameId() == getOlympiadGameId()))
{
return true;
}
@ -9242,12 +9242,12 @@ public class PlayerInstance extends Playable
public void setOlympiadStart(boolean value)
{
_OlympiadStart = value;
_olympiadStart = value;
}
public boolean isOlympiadStart()
{
return _OlympiadStart;
return _olympiadStart;
}
public boolean isHero()