mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +00:00
Animate switches when bumped
This commit is contained in:
parent
484eb347ca
commit
0276760a2d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue