This will push the player backwards, when hit by a shot.
In WL_ACT2.C search for:
Then add underneath TakeDamage (damage,ob); in that function:
You can change the 500 to your likings.
In WL_ACT2.C search for:
- Code:
void T_Shoot (objtype *ob)
Then add underneath TakeDamage (damage,ob); in that function:
- Code:
Thrust(player->angle,-0x500);
You can change the 500 to your likings.