Merge pull request 'Fixing compile typos' (#1) from task/remove-intermediate-saved-folders into main

Reviewed-on: #1
main
jmackey 12 hours ago
commit c41096fe78

3
.gitignore vendored

@ -3,6 +3,7 @@
# Visual Studio 2015 user specific files # Visual Studio 2015 user specific files
.vs/ .vs/
Plugins/Developer/RiderLink
# Compiled Object files # Compiled Object files
*.slo *.slo
@ -78,4 +79,4 @@ Intermediate/Build/*
Plugins/**/Intermediate/* Plugins/**/Intermediate/*
# Cache files for the editor to use # Cache files for the editor to use
DerivedDataCache/* DerivedDataCache/*

@ -1,7 +1,7 @@
// Copyright Forgeworks Interactive. These are under NDA and copyrighted to Forgeworks Interactive. // Copyright Forgeworks Interactive. These are under NDA and copyrighted to Forgeworks Interactive.
#include "Abilitysystem/BaseGameplayAbility.h" #include "AbilitySystem/BaseGameplayAbility.h"
UBaseGameplayAbility::UBaseGameplayAbility() : Super() UBaseGameplayAbility::UBaseGameplayAbility() : Super()
{ {

@ -35,7 +35,7 @@ void ACharacterBase::GiveDefaultAbilities()
check(AbilitySystemComponent); check(AbilitySystemComponent);
// if (!HasAuthority()) return; // Only need this for MP games :D // if (!HasAuthority()) return; // Only need this for MP games :D
for (const TSubclassOf<UBaseGameplayAbility> AbilityClass : DefaultAbilities) for (const TSubclassOf<UBaseGameplayAbility> &AbilityClass : DefaultAbilities)
{ {
AbilitySystemComponent -> GiveAbility(FGameplayAbilitySpec(AbilityClass, 1, static_cast<int32>(AbilityClass.GetDefaultObject() -> AbilityInputID), this)); AbilitySystemComponent -> GiveAbility(FGameplayAbilitySpec(AbilityClass, 1, static_cast<int32>(AbilityClass.GetDefaultObject() -> AbilityInputID), this));
} }

Loading…
Cancel
Save