mirror of
https://github.com/electronicarts/CnC_Remastered_Collection.git
synced 2025-08-13 01:24:06 +02:00
August 6th Patch Update
Accumulated DLL source code changes since June 22nd patch
This commit is contained in:
@@ -3146,9 +3146,9 @@ int DisplayClass::TacticalClass::Action(unsigned flags, KeyNumType & key)
|
||||
object = Map.Close_Object(coord);
|
||||
|
||||
/*
|
||||
** Special case check to ignore cloaked object if not owned by the player.
|
||||
** Special case check to ignore cloaked object if not allied with the player.
|
||||
*/
|
||||
if (object != NULL && object->Is_Techno() && !((TechnoClass *)object)->IsOwnedByPlayer && (((TechnoClass *)object)->Cloak == CLOAKED || ((TechnoClass *)object)->Techno_Type_Class()->IsInvisible)) {
|
||||
if (object != NULL && object->Is_Techno() && ((TechnoClass *)object)->Is_Cloaked(PlayerPtr, true)) {
|
||||
object = NULL;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user