Fixes in class system. See details.

Fixed class menus not displaying correct class.
Made ClassSelectedNext array for storing class indexes to be set on next spawn. Useful for other stuff too, like saving settings in cookies.
Code cleanup in class spawn and class infect events.
This commit is contained in:
richard
2009-07-23 23:26:14 +02:00
parent 9077a6ba69
commit 6a6300e21b
5 changed files with 252 additions and 129 deletions

View File

@ -295,7 +295,6 @@ stock bool:ClassValidateIndex(classindex)
}
}
/**
* Compares the class team ID with a team ID.
*