git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@857 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2007-03-23 20:40:58 +00:00
parent 490f09c503
commit 8a6d454761
3 changed files with 165 additions and 142 deletions
+6 -6
View File
@@ -279,16 +279,16 @@ void updateworld(int curtime, int lastmillis) // main game update loop
//put game mode extra call here
if(player1->state==CS_DEAD)
{
if(lastmillis-player1->lastaction<2000)
{
player1->move = player1->strafe = 0;
moveplayer(player1, 10, false);
};
if(lastmillis-player1->lastaction<2000)
{
player1->move = player1->strafe = 0;
moveplayer(player1, 10, false);
};
}
else if(!intermission)
{
moveplayer(player1, 20, true);
checkitems(player1);
checkitems(player1);
};
c2sinfo(player1); // do this last, to reduce the effective frame lag
};