diff --git a/redalert/techno.cpp b/redalert/techno.cpp index b6893011..682741b2 100644 --- a/redalert/techno.cpp +++ b/redalert/techno.cpp @@ -683,11 +683,15 @@ TechnoClass::TechnoClass(RTTIType rtti, int id, HousesType house) // IsOwnedByPlayer = (PlayerPtr == House); // Added for multiplayer changes. ST - 4/24/2019 10:40AM IsDiscoveredByPlayerMask = 0; +#ifdef REMASTER_BUILD if (Session.Type == GAME_NORMAL) { IsOwnedByPlayer = (PlayerPtr == House); } else { IsOwnedByPlayer = House->IsHuman; } +#else + IsOwnedByPlayer = (PlayerPtr == House); +#endif } /*********************************************************************************************** diff --git a/tiberiandawn/techno.cpp b/tiberiandawn/techno.cpp index ca56085e..015154b2 100644 --- a/tiberiandawn/techno.cpp +++ b/tiberiandawn/techno.cpp @@ -916,11 +916,15 @@ TechnoClass::TechnoClass(HousesType house) // Added for multiplayer changes. ST - 4/24/2019 10:40AM IsDiscoveredByPlayerMask = 0; +#ifdef REMASTER_BUILD if (GameToPlay == GAME_NORMAL) { IsOwnedByPlayer = (house == PlayerPtr->Class->House); } else { IsOwnedByPlayer = House->IsHuman; } +#else + IsOwnedByPlayer = (PlayerPtr == House); +#endif /* ** There is a chance that a vehicle will be a "lemon".