void ANimModPlayerState::UpdateTeamColors() { AController* OwnerController = Cast<AController>(GetOwner()); if (OwnerController != NULL) { ANimModCharacter* NimModCharacter = Cast<ANimModCharacter>(OwnerController->GetCharacter()); if (NimModCharacter != NULL) { NimModCharacter->UpdateTeamColorsAllMIDs(); } } }
void ALPlayerState::UpdateTeamColors() { AController* OwnerController = Cast<AController>(GetOwner()); if (OwnerController != NULL) { ALabyrinthCharacter* LCharacter = Cast<ALabyrinthCharacter>(OwnerController->GetCharacter()); if (LCharacter != NULL) { // Trigger the color update... //LCharacter->UpdateTeamColorsAllMIDs(); } } }