For NiGHTS OP Hoop, make mt->options XOR cv_opflags more SRB2-like

This commit is contained in:
mazmazz 2018-04-02 08:36:33 -04:00
parent e87530a9c3
commit 0c6f722ff2
1 changed files with 1 additions and 1 deletions

View File

@ -1002,7 +1002,7 @@ void OP_NightsObjectplace(player_t *player)
temp += 90;
temp %= 360;
mt->options = (mt->options ^ (UINT16)cv_opflags.value) | (UINT16)cv_ophoopflags.value;
mt->options = (mt->options & ~(UINT16)cv_opflags.value) | (UINT16)cv_ophoopflags.value;
mt->angle = (INT16)(mt->angle+(INT16)((FixedInt(FixedDiv(temp*FRACUNIT, 360*(FRACUNIT/256))))<<8));
P_SpawnHoopsAndRings(mt);