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:
Bukz
2013-04-11 21:31:38 +00:00
parent 18f5080ccd
commit 1578084964
4 changed files with 18 additions and 12 deletions
+1 -1
View File
@@ -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;
}