Rename IntegrationGameModeBase to LuprexGameModeBase, and other small refactors
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "Tangible.h"
|
||||
#include "TangibleManager.h"
|
||||
#include "IntegrationGameModeBase.h"
|
||||
#include "LuprexGameModeBase.h"
|
||||
|
||||
#define DEFAULT_BLUEPRINT (TEXT("TangibleStaticMesh"))
|
||||
#define LOCTEXT_NAMESPACE "Luprex Tangible"
|
||||
@@ -193,7 +193,7 @@ void UlxTangible::SetTangiblePlane(AActor* target, const FString& plane) {
|
||||
bool UlxTangible::IsCurrentPlayer(AActor* target) {
|
||||
UlxTangible *tan = GetActorTangibleQuiet(target);
|
||||
if (tan == nullptr) return false;
|
||||
AIntegrationGameModeBase *gamemode = tan->Manager->GetGameMode();
|
||||
ALuprexGameModeBase *gamemode = tan->Manager->GetGameMode();
|
||||
return (tan->TangibleId == gamemode->PlayerId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user