Added the barebones pre-battle menu

feature/pre-battle-menu
Jers 11 months ago
parent 09746d1a25
commit 84643b06f7

BIN
Content/Blueprints/BP_GameState.uasset (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

BIN
Content/Blueprints/BP_PlayerPawn.uasset (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -7,7 +7,7 @@ void UPartySubsystem::AddToParty(UUnitInfo* UnitInfo)
{
for (FPartyMember &Unit : Members)
{
if(GetMemberUnitInfo(Unit)->GetClass() == UnitInfo->GetClass())
if(Unit.UnitInfo == UnitInfo)
{
const bool UpdateAllocated = GetMemberAvailable(Unit) == GetMemberAllocated(Unit);

@ -29,6 +29,9 @@ bool UStateMachineSubsystem::ChangeState(const EGameState NewState)
case EGameState::Battle:
switch(NewState)
{
case EGameState::Battle:
UE_LOG(LogTemp, Warning, TEXT("Entering BATTLE state from BATTLE. Should only be possible when debugging"))
break;
case EGameState::BattleMenu:
UE_LOG(LogTemp, Display, TEXT("Entering BATTLEMENU state from BATTLE"))
break;

Loading…
Cancel
Save