Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ((MPC->Pawn->PlayerReplicationInfo != NULL)
- && (MPC->Pawn->PlayerReplicationInfo->PlayerZone != NULL))
- {
- AZoneInfo* MyZone = MPC->Pawn->PlayerReplicationInfo->PlayerZone;
- if (bFogColor)
- {
- MyZone->DistanceFogColor.R = 121;
- MyZone->DistanceFogColor.G = 185;
- MyZone->DistanceFogColor.B = 127;
- }
- else if (!bFogColor)
- {
- MyZone->DistanceFogColor.R = 128;
- MyZone->DistanceFogColor.G = 128;
- MyZone->DistanceFogColor.B = 128;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement