better onReload + documentation
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7460 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -765,7 +765,7 @@ void parsemessages(int cn, playerent *d, ucharbuf &p, bool demo = false)
|
||||
{
|
||||
int cn = getint(p), gun = getint(p);
|
||||
playerent *p = getclient(cn);
|
||||
if(p && p!=player1) p->weapons[gun]->reload();
|
||||
if(p && p!=player1) p->weapons[gun]->reload(false);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user