Skip to content

Commit

Permalink
editent fix
Browse files Browse the repository at this point in the history
  • Loading branch information
greghaynes committed Jul 20, 2010
1 parent 59fefd9 commit 87c5057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fpsgame/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2013,7 +2013,7 @@ namespace server
server_entity se = { NOTUSED, 0, false };
while(sents.length()<=i) sents.add(se);
sents[i].type = type;
if(canspawn ? !sents[i].spawned : sents[i].spawned)
if(canspawn ? !sents[i].spawned : (sents[i].spawned || sents[i].spawntime))
{
sents[i].spawntime = canspawn ? 1 : 0;
sents[i].spawned = false;
Expand Down

0 comments on commit 87c5057

Please sign in to comment.