Commit 106d296b authored by Richard Gobeille's avatar Richard Gobeille
Browse files

Fix swinging doors not automatically closing anymore after rebounding if they...

Fix swinging doors not automatically closing anymore after rebounding if they hit a player or actor when trying to close

From-SVN: r8756
parent 0d98a749
......@@ -6786,6 +6786,9 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3
actor[i].t_data[4] += 512;
else
actor[i].t_data[4] -= 512;
if (sector[SECT(i)].lotag & 0x8000u) sector[SECT(i)].lotag &= 0x7fff;
else sector[SECT(i)].lotag |= 0x8000u;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment