- SW: forgot to enable the extended sector parts in CallbackSOsink.

That bit had somehow gone MiA.
This commit is contained in:
Christoph Oelckers 2021-12-20 18:17:04 +01:00
parent b021aa9a02
commit 4904466fd6
2 changed files with 3 additions and 2 deletions

View file

@ -214,7 +214,7 @@ void CopySectorMatch(int match)
dsectp->speed = ssectp->speed;
dsectp->damage = ssectp->damage;
dsectp->number = ssectp->number;
dsectp->u_defined = ssectp->u_defined;
if (ssectp->u_defined) dsectp->u_defined = true;
dsectp->flags2 = ssectp->flags2;
dsectp->hitag = ssectp->hitag;

View file

@ -2192,7 +2192,8 @@ void CallbackSOsink(ANIMp ap, void *data)
// destsect->floorz = srcsect->floorz;
RESET(destsect->floorstat, CSTAT_SECTOR_ALIGN);
ASSERT(destsect->hasU() && srcsect->hasU());
destsect->u_defined = true;
ASSERT(srcsect->hasU());
tgt_depth = FixedToInt(srcsect->depth_fixed);