osok, hudgun preload

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@607 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-11-12 16:34:54 +00:00
parent 663f90f823
commit 446ce0ca7a
12 changed files with 62 additions and 59 deletions
+4 -3
View File
@@ -40,15 +40,16 @@ void spawnstate(playerent *d) // reset player state not persistent
if(d==player1)
{
gun_changed = true;
player1->primary = player1->nextprimary;
//player1->primary = m_pistol ? GUN_PISTOL : (m_ss ? GUN_SNIPER : player1->nextprimary);
player1->primary = m_osok ? GUN_SNIPER : player1->nextprimary;
if(player1->skin!=player1->nextskin)
{
c2sinit=false;
player1->skin=player1->nextskin;
}
scoped = false;
setscope(false);
};
radd(d);
equip(d);
dblend = 0;
};