I think he means the cammera tilt when you get damaged, if so then if you have the ability to compile:
Find this around line 2119 in src/game.cpp:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
else if(event.type == CE_PLAYER_DAMAGE && client.getHP() != 0)
Then just below replace
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
player->hurt_tilt_timer = 1.5;
player->hurt_tilt_strength = event.player_damage.amount/2;
player->hurt_tilt_strength = rangelim(player->hurt_tilt_strength, 2.0, 10.0);
with
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
//player->hurt_tilt_timer = 1.5;
//player->hurt_tilt_strength = event.player_damage.amount/2;
//player->hurt_tilt_strength = rangelim(player->hurt_tilt_strength, 2.0, 10.0);
There are also a few lines above it if you want to disable the red damage flash.