Revert "inWater" command

This reverts commit 1e20bace2e ,
because inWater command doesn't work and it looks, that it's useless.

DOCREF inWater
This commit is contained in:
aurhat
2014-12-25 22:56:09 +01:00
parent aa127afbdd
commit f6cd6ffb7e
-7
View File
@@ -771,12 +771,6 @@ void crouch(bool on)
player1->trycrouch = on;
}
int inWater(int *type)
{
if(hdr.waterlevel > (*type ? player1->o.z : (player1->o.z - player1->eyeheight))) return 1;
else return 0;
}
COMMAND(backward, "d");
COMMAND(forward, "d");
COMMAND(left, "d");
@@ -784,7 +778,6 @@ COMMAND(right, "d");
COMMANDN(jump, jumpn, "d");
COMMAND(attack, "d");
COMMAND(crouch, "d");
COMMAND(inWater, "i");
void fixcamerarange(physent *cam)
{