[Change] AUTONAV will try to face away from the gravitational center if
too close.
This commit is contained in:
parent
93930ad30b
commit
13ce356566
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user