physics tweaks

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5523 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
flowtron
2010-08-02 19:31:28 +00:00
parent bb18f2d31e
commit 1202341e9b
2 changed files with 7 additions and 8 deletions
+4 -5
View File
@@ -629,12 +629,11 @@ void weapon::renderstats()
}
}
VAR(recoiltest, 0, 0, 1); // DISABLE ON RELEASE
//int recoiltest = 0;
VAR(recoilincrease, 1, 2, 10);
VAR(recoilbase, 0, 40, 1000);
VAR(maxrecoil, 0, 1000, 1000);
static int recoiltest = 0;//VAR(recoiltest, 0, 0, 1); // DISABLE ON RELEASE
static int recoilincrease = 2; //VAR(recoilincrease, 1, 2, 10);
static int recoilbase = 40;//VAR(recoilbase, 0, 40, 1000);
static int maxrecoil = 1000;//VAR(maxrecoil, 0, 1000, 1000);
void weapon::attackphysics(vec &from, vec &to) // physical fx to the owner
{