Subversion Repositories eduke32

Compare Revisions

Ignore whitespace Rev 8790 → Rev 8791

/source/duke3d/src/player.cpp
1598,7 → 1598,7
break;
 
if (pSprite->extra >= 0) pSprite->shade = -96;
vel = 1024;
vel = 400;
int j, underwater;
if (playerNum >= 0)
{
1608,7 → 1608,7
{
int ang = getangle(startPos.x-pPlayer->opos.x,startPos.y-pPlayer->opos.y);
ang = 512-(1024-klabs(klabs(ang-shootAng)-1024));
vel = 1024+int(float(ang)*(1.f/512.f)*float(xv));
vel = 400+int(float(ang)*(1.f/512.f)*float(xv));
}
underwater = sector[pPlayer->cursectnum].lotag == ST_2_UNDERWATER;
}