Skyboxes: Remove obsolete modulo operation

This commit is contained in:
MascaraSnake 2020-01-25 15:37:23 +01:00
parent d947558576
commit 3775e6447e
1 changed files with 2 additions and 2 deletions

View File

@ -12650,9 +12650,9 @@ static boolean P_SetupSpawnedMapThing(mapthing_t *mthing, mobj_t *mobj, boolean
} }
if (mthing->options & MTF_OBJECTSPECIAL) if (mthing->options & MTF_OBJECTSPECIAL)
skyboxcenterpnts[mthing->tag % 16] = mobj; skyboxcenterpnts[mthing->tag] = mobj;
else else
skyboxviewpnts[mthing->tag % 16] = mobj; skyboxviewpnts[mthing->tag] = mobj;
break; break;
case MT_EGGSTATUE: case MT_EGGSTATUE:
if (mthing->options & MTF_EXTRA) if (mthing->options & MTF_EXTRA)