testing: reducing the delays in clientside item pickup delay after item and player spawn

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5280 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Rafael Barreto
2010-07-03 18:41:40 +00:00
parent 31a3b7356e
commit 930294381d
+1 -1
View File
@@ -187,7 +187,7 @@ void trypickup(int n, playerent *d)
switch(e.type)
{
default:
if( d->canpickup(e.type) && lastmillis > e.lastmillis + 1000 && lastmillis > lastspawn + 1000 )
if( d->canpickup(e.type) && lastmillis > e.lastmillis + 100 && lastmillis > lastspawn + 500 )
{
if(d->type==ENT_PLAYER) addmsg(SV_ITEMPICKUP, "ri", n);
else if(d->type==ENT_BOT && serverpickup(n, -1)) pickupeffects(n, d);