demo playback as 1st person, convenient spect toggling
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1893 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -515,13 +515,9 @@ void attack(bool on)
|
||||
void jumpn(bool on)
|
||||
{
|
||||
if(intermission) return;
|
||||
if(player1->state==CS_DEAD || player1->state==CS_SPECTATE)
|
||||
if(player1->isspectating())
|
||||
{
|
||||
if(on)
|
||||
{
|
||||
showscores(false);
|
||||
player1->spectating = SM_FLY;
|
||||
}
|
||||
if(on) togglespect();
|
||||
}
|
||||
else if(player1->crouching) return;
|
||||
else player1->jumpnext = on;
|
||||
|
||||
Reference in New Issue
Block a user