mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 04:00:42 +00:00
- SW: fix sector property transfers involving a portal.
This commit is contained in:
parent
98bb8c516d
commit
1d7f4c1f2b
1 changed files with 6 additions and 0 deletions
|
@ -34,6 +34,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
|
||||||
#include "sprite.h"
|
#include "sprite.h"
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
#include "interpso.h"
|
#include "interpso.h"
|
||||||
|
#include "render.h"
|
||||||
|
|
||||||
BEGIN_SW_NS
|
BEGIN_SW_NS
|
||||||
|
|
||||||
|
@ -244,6 +245,11 @@ void CopySectorMatch(short match)
|
||||||
|
|
||||||
dsectp->extra = ssectp->extra;
|
dsectp->extra = ssectp->extra;
|
||||||
dsectp->visibility = ssectp->visibility;
|
dsectp->visibility = ssectp->visibility;
|
||||||
|
|
||||||
|
dsectp->portalnum = ssectp->portalnum;
|
||||||
|
dsectp->portalflags = ssectp->portalflags;
|
||||||
|
|
||||||
|
if (ssectp->portalflags & (PORTAL_SECTOR_CEILING|PORTAL_SECTOR_FLOOR)) allPortals[ssectp->portalnum].dx = allPortals[ssectp->portalnum].dy = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue