Ongoing C++ Gameplay Example Series: Making a Survival Game

Hi , thanks for your amazing work.

Just wanted to say i couldn’t build right out of the box on OS X with UE4 4.7.6. Had a compile error.

In SLocalPlayer.cpp :

I replaced :

 *NickName = FWindowsPlatformProcess::ComputerName() + FString::FromInt(FMath::RandRange(0, 999));*

By :

NickName = FGenericPlatformProcess::ComputerName() + FString::FromInt(FMath::RandRange(0, 999));

After that i could open the project with no problem.