Prechádzať zdrojové kódy

Linux compilation fixes

Signed-off-by: Olex Lozitskiy <[email protected]>
Olex Lozitskiy 3 rokov pred
rodič
commit
c58a48f99d

+ 1 - 0
Gem/Code/Source/Components/NetworkPlayerMovementComponent.h

@@ -9,6 +9,7 @@
 
 #include <Source/AutoGen/NetworkPlayerMovementComponent.AutoComponent.h>
 #include <StartingPointInput/InputEventNotificationBus.h>
+#include "NetworkAiComponent.h"
 
 namespace MultiplayerSample
 {

+ 2 - 2
Gem/Code/Source/Components/NetworkWeaponsComponent.cpp

@@ -187,7 +187,7 @@ namespace MultiplayerSample
             AZLOG
             (
                 NET_Weapons,
-                "Predicted hit on entity %u at position %f x %f x %f",
+                "Predicted hit on entity %" PRIu64 " at position %f x %f x %f",
                 hitEntity.m_hitNetEntityId,
                 hitEntity.m_hitPosition.GetX(),
                 hitEntity.m_hitPosition.GetY(),
@@ -256,7 +256,7 @@ namespace MultiplayerSample
             AZLOG
             (
                 NET_Weapons,
-                "Confirmed hit on entity %u at position %f x %f x %f",
+                "Confirmed hit on entity %" PRIu64 " at position %f x %f x %f",
                 hitEntity.m_hitNetEntityId,
                 hitEntity.m_hitPosition.GetX(),
                 hitEntity.m_hitPosition.GetY(),

+ 1 - 0
Gem/Code/Source/Components/NetworkWeaponsComponent.h

@@ -10,6 +10,7 @@
 #include <Source/AutoGen/NetworkWeaponsComponent.AutoComponent.h>
 #include <Source/Weapons/IWeapon.h>
 #include <StartingPointInput/InputEventNotificationBus.h>
+#include "NetworkAiComponent.h"
 
 namespace DebugDraw { class DebugDrawRequests; }