some cleanup and compatibility things

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5464 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Rafael Barreto
2010-07-27 22:19:28 +00:00
parent 7a3897b4c7
commit 0743044eec
3 changed files with 10 additions and 9 deletions
+2
View File
@@ -205,6 +205,7 @@ struct medals
int dpt, lasthit, lastgun, ncovers, nhs;
int combohits, combo, combofrags, combotime, combodamage, ncombos;
int ask, askmillis, linked, linkmillis, linkreason, upmillis, flagmillis;
int totalhits, totalshots;
bool updated, combosend;
vec pos, flagpos;
void reset()
@@ -213,6 +214,7 @@ struct medals
combohits = combo = combofrags = combotime = combodamage = ncombos = 0;
askmillis = linkmillis = upmillis = flagmillis = 0;
linkreason = linked = ask = -1;
totalhits = totalshots = 0;
updated = combosend = false;
pos = flagpos = vec(-1e10f, -1e10f, -1e10f);
}