Skip to content

Commit d903cc9

Browse files
authored
Merge pull request #155 from GaoGeolone/master
Version adaptive
2 parents 7725156 + 29bdc33 commit d903cc9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Source/ROSIntegration/Classes/ROSIntegrationGameInstance.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class ROSINTEGRATION_API UROSIntegrationGameInstance : public UGameInstance
4949
protected:
5050
void CheckROSBridgeHealth();
5151

52-
#if ENGINE_MINOR_VERSION > 23
52+
#if ENGINE_MINOR_VERSION > 23 || ENGINE_MAJOR_VERSION >4
5353
virtual void OnWorldTickStart(UWorld * World, ELevelTick TickType, float DeltaTime);
5454
#else
5555
virtual void OnWorldTickStart(ELevelTick TickType, float DeltaTime);

Source/ROSIntegration/Private/ROSIntegrationGameInstance.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ void UROSIntegrationGameInstance::BeginDestroy()
192192
UE_LOG(LogROS, Display, TEXT("ROS Game Instance - begin destroy - done"));
193193
}
194194

195-
#if ENGINE_MINOR_VERSION > 23
195+
#if ENGINE_MINOR_VERSION > 23 || ENGINE_MAJOR_VERSION >4
196196
void UROSIntegrationGameInstance::OnWorldTickStart(UWorld * World, ELevelTick TickType, float DeltaTime)
197197
#else
198198
void UROSIntegrationGameInstance::OnWorldTickStart(ELevelTick TickType, float DeltaTime)

0 commit comments

Comments
 (0)