Windjar loading mechanism exploit removed

floating-point
MimmoO 2010-10-02 15:59:02 +02:00
parent 6e6437e9b9
commit c1e2366243
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ protected func Load()
var SX=Sin(A + R,D);
var SY=Cos(A + R,D);
if(!GBackSolid(SX,SY) && !GBackLiquid(SX,SY)) //when on a random spot in front is air...
if(!GBackSolid(SX,SY) && !GBackLiquid(SX,SY) && !GBackSolid(0,0) && !GBackLiquid(0,0)) //when on a random spot in front is air...
{
Amount += 2; //Air is sucked in.
CreateParticle("AirIntake",