Animate switches when bumped

This commit is contained in:
Edward Richardson 2014-07-19 20:49:53 +12:00
parent 484eb347ca
commit 0276760a2d

View file

@ -252,7 +252,7 @@ bool P_ActivateLine (line_t *line, AActor *mo, int side, int activationType)
if (buttonSuccess) if (buttonSuccess)
{ {
if (activationType == SPAC_Use || activationType == SPAC_Impact) if (activationType == SPAC_Use || activationType == SPAC_Impact || activationType == SPAC_Push)
{ {
P_ChangeSwitchTexture (line->sidedef[0], repeat, special); P_ChangeSwitchTexture (line->sidedef[0], repeat, special);
} }