mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
- fixed changed variable inside an assert that apparently got overlooked because it got only compiled as release.
This commit is contained in:
parent
64183fc3cd
commit
90c42519b7
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ namespace swrenderer
|
||||||
if (port->mPartner > 0) level.sectorPortals[port->mPartner].mFlags |= PORTSF_INSKYBOX;
|
if (port->mPartner > 0) level.sectorPortals[port->mPartner].mFlags |= PORTSF_INSKYBOX;
|
||||||
r_viewpoint.camera = nullptr;
|
r_viewpoint.camera = nullptr;
|
||||||
r_viewpoint.sector = port->mDestination;
|
r_viewpoint.sector = port->mDestination;
|
||||||
assert(viewsector != nullptr);
|
assert(r_viewpoint.sector != nullptr);
|
||||||
R_SetViewAngle(r_viewpoint, r_viewwindow);
|
R_SetViewAngle(r_viewpoint, r_viewwindow);
|
||||||
Thread->OpaquePass->ClearSeenSprites();
|
Thread->OpaquePass->ClearSeenSprites();
|
||||||
Thread->Clip3D->ClearFakeFloors();
|
Thread->Clip3D->ClearFakeFloors();
|
||||||
|
|
Loading…
Reference in a new issue