no message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@767 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-12-06 20:46:06 +00:00
parent 6b3a99bf19
commit 0feaa049cf
7 changed files with 12 additions and 31 deletions
+3 -20
View File
@@ -278,30 +278,13 @@ void equip(playerent *d)
{
d->ammo[GUN_PISTOL] = itemstats[GUN_PISTOL].max-magsize(GUN_PISTOL);
d->mag[GUN_PISTOL] = magsize(GUN_PISTOL);
}
};
if(!m_noprimary)
{
d->ammo[d->primary] = itemstats[d->primary].start-magsize(d->primary);
d->mag[d->primary] = magsize(d->primary);
}
/*
if(m_pistol) // pistol only mode
{
d->ammo[GUN_PISTOL] = itemstats[GUN_PISTOL].max-magsize(GUN_PISTOL);
d->mag[GUN_PISTOL] = magsize(GUN_PISTOL);
}
else if(m_lss)
{
d->mag[d->primary] = d->mag[GUN_PISTOL] = 0;
}
else if(!m_noguns)
{
d->ammo[GUN_PISTOL] = itemstats[GUN_PISTOL].start-magsize(GUN_PISTOL);
d->mag[GUN_PISTOL] = magsize(GUN_PISTOL);
d->ammo[d->primary] = itemstats[d->primary].start-magsize(d->primary);
d->mag[d->primary] = magsize(d->primary);
};*/
};
if (d->hasarmour)
{