mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-01 05:20:43 +00:00
- SW: fixed camera validation
This commit is contained in:
parent
9879aa90a6
commit
fe3a32d692
1 changed files with 1 additions and 1 deletions
|
@ -478,7 +478,7 @@ void JS_DrawCameras(PLAYER* pp, const DVector3& campos, double smoothratio)
|
|||
DAngle oscillation_angle = mapangle(oscilation_delta);
|
||||
for (cnt = MAXMIRRORS - 1; cnt >= 0; cnt--)
|
||||
{
|
||||
if (!mirror[cnt].ismagic) continue; // these are definitely not camera textures.
|
||||
if (!mirror[cnt].ismagic || mirror[cnt].campic < 0) continue; // these are definitely not camera textures.
|
||||
|
||||
auto tex = tileGetTexture(mirror[cnt].campic);
|
||||
if (tex && tex->isSeen(true))
|
||||
|
|
Loading…
Reference in a new issue