I use a c_trace from player.x to player.x in order to check if he's into a passable entity to make the player swim. It worked perfectly on A7 and the previous A8 versions, but in the last 8.10.1 the player instead of swim simply falls to the ground like if c_trace doesn't detect anything. The water checker is a passable model with FLAG8.

This is the code I use to check:
Code:
c_trace(player.x, player.x, IGNORE_ME);
		if(swim==0 && you){
			if( (you.flags2 & PASSABLE|is(you, PASSABLE) ) && is(you, FLAG8) ) swim=1; else swim=0; 
		}



Last edited by painkiller; 01/03/11 15:10.

3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB