no pickup for spectators

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1487 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2007-12-25 15:54:59 +00:00
parent 0aa7578eb5
commit bedf989f49
10 changed files with 7 additions and 11 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ void trypickup(int n, playerent *d)
void checkitems(playerent *d)
{
if(editmode) return;
if(editmode || d->state!=CS_ALIVE) return;
d->onladder = false;
float eyeheight = d->dyneyeheight();
loopv(ents)