mirror of
https://github.com/electronicarts/CnC_Remastered_Collection.git
synced 2025-08-24 14:42:52 +02:00
August 6th Patch Update
Accumulated DLL source code changes since June 22nd patch
This commit is contained in:
@@ -578,7 +578,7 @@ IsTheaterShape = false;
|
||||
|
||||
AnimClass::Unlimbo(coord);
|
||||
|
||||
VisibleFlags = 0xffff;
|
||||
VisibleFlags = static_cast<unsigned int>(-1);
|
||||
|
||||
/*
|
||||
** Drop zone smoke always reveals the map around itself.
|
||||
@@ -817,10 +817,10 @@ void AnimClass::AI(void)
|
||||
int damage = Accum;
|
||||
Accum -= damage;
|
||||
if (As_Object(xObject)->Take_Damage(damage, 0, WARHEAD_FIRE) == RESULT_DESTROYED) {
|
||||
delete this;
|
||||
if (Target_Legal(VirtualAnimTarget)) {
|
||||
delete As_Animation(VirtualAnimTarget);
|
||||
}
|
||||
delete this;
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -1177,8 +1177,12 @@ void AnimClass::Detach(TARGET target, bool all)
|
||||
assert(IsActive);
|
||||
|
||||
if (all) {
|
||||
if (VirtualAnimTarget && VirtualAnimTarget == target) {
|
||||
if (Target_Legal(VirtualAnimTarget) && VirtualAnimTarget == target) {
|
||||
VirtualAnimTarget = TARGET_NONE;
|
||||
if (IsInvisible) {
|
||||
IsToDelete = true;
|
||||
Mark(MARK_UP);
|
||||
}
|
||||
}
|
||||
if (xObject == target) {
|
||||
Map.Remove(this, In_Which_Layer());
|
||||
|
Reference in New Issue
Block a user