From 930294381d153f314da4717ae182cbb5587f4803 Mon Sep 17 00:00:00 2001 From: Rafael Barreto Date: Sat, 3 Jul 2010 18:41:40 +0000 Subject: [PATCH] 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 --- source/src/entities.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/entities.cpp b/source/src/entities.cpp index 0c52e2c7..baf247d3 100644 --- a/source/src/entities.cpp +++ b/source/src/entities.cpp @@ -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);