Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Source/SPUD/Private/SpudMemoryReaderWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ FArchive& FSpudMemoryReader::operator<<(UObject*& Obj)
FString LoadedString;
*this << LoadedString;
// look up the object by fully qualified pathname
#if ENGINE_MAJOR_VERSION==5&&ENGINE_MINOR_VERSION>=7
Obj = FindObject<UObject>(nullptr, *LoadedString, EFindObjectFlags::None);
#else
Obj = FindObject<UObject>(nullptr, *LoadedString, false);
#endif
// If we couldn't find it, and we want to load it, do that
if(!Obj)
{
Expand Down
2 changes: 1 addition & 1 deletion Source/SPUD/Private/SpudState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "GameFramework/GameStateBase.h"
#include "GameFramework/MovementComponent.h"
#include "ImageUtils.h"
#include "../Public/SpudMemoryReaderWriter.h"
#include "SpudMemoryReaderWriter.h"
#include "GameFramework/PlayerState.h"
#include "WorldPartition/WorldPartitionRuntimeCell.h"

Expand Down
Loading