*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@275 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-04-27 14:37:27 +00:00
parent 93ecf468ce
commit a4bab13d21
14 changed files with 147 additions and 140 deletions
+6 -5
View File
@@ -38,7 +38,7 @@ void renderentities()
sprintf_sd(path)("pickups/flags/small_%s", rb_team_string(e.attr2));
mapmodelinfo mmi = {10, 4, 0, 0, path};
if(!&mmi) continue;
rendermodel(mmi.name, 0, 1, 0, 0, f.thief->o.x, f.thief->o.z+0.3f+(sin(lastmillis/100.0f)+1)/10, f.thief->o.y, lastmillis/2.5f, 0, false, 1.0f, 120.0f, mmi.snap);
rendermodel(mmi.name, 0, 1, 0, 0, f.thief->o.x, f.thief->o.z+0.3f+(sin(lastmillis/100.0f)+1)/10, f.thief->o.y, lastmillis/2.5f, 0, false, 0.6f, 120.0f, mmi.snap);
}
else
{
@@ -112,9 +112,9 @@ void radditem(int i, int &v, int t)
v += is.add;
if(v>is.max) v = is.max;
playsoundc(is.sound);
};
};
extern void secondary();
extern void changeweapon(int gun);
void realpickup(int n, dynent *d)
{
@@ -142,10 +142,11 @@ void realpickup(int n, dynent *d)
break;
case I_AKIMBO:
d->akimbo = true;
d->akimbo = true;
d->akimbomillis = 30000;
d->mag[GUN_PISTOL] = 16;
radditem(n, d->ammo[1], 9);
secondary();
changeweapon(G_SECONDARY);
conoutf("a lesser man would use a single pistol");
break;
};