[Change] AUTONAV will try to face away from the gravitational center if

too close.
This commit is contained in:
Allanis 2014-05-21 15:17:54 +01:00
parent 93930ad30b
commit 13ce356566

View File

@ -1819,7 +1819,7 @@ void player_think(Pilot* pplayer) {
} }
/* PLAYER_FACE will take over navigation. */ /* PLAYER_FACE will take over navigation. */
if(player_isFlag(PLAYER_FACE)) { else if(player_isFlag(PLAYER_FACE)) {
if(player->target != PLAYER_ID) if(player->target != PLAYER_ID)
pilot_face(pplayer, pilot_face(pplayer,
vect_angle(&player->solid->pos, vect_angle(&player->solid->pos,