set "embody" as default spect mode, more convenient spawning in "fly" mode
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1886 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -851,6 +851,13 @@ void spectate()
|
||||
{
|
||||
if(player1->state==CS_ALIVE) return;
|
||||
showscores(false);
|
||||
if(player1->spectating != SM_NONE && players.inrange(player1->followplayercn))
|
||||
{
|
||||
// set spectator location to last followed player
|
||||
playerent *f = players[player1->followplayercn];
|
||||
player1->o = f->o;
|
||||
player1->yaw = f->yaw;
|
||||
}
|
||||
player1->spectating = SM_FLY;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user