- defined a constant for the crosshair menu entry's index to get a direct
reference out of the function code. - Fixed: The BrainExplosions should not perform any collision detection. To achieve this their Damage value must be set to 0 when being spawned. - Added a safety check to savegame versioning so that an invalid revision (reported as 0) will be handled without breaking savegame compatibility. SVN r689 (trunk)
This commit is contained in:
parent
612d1b2fa3
commit
a5265c4ec5
6 changed files with 26 additions and 6 deletions
|
|
@ -522,6 +522,8 @@ static menuitem_t VideoItems[] = {
|
|||
{ discrete, "Bullet Puff Type", {&cl_pufftype}, {2.0}, {0.0}, {0.0}, {PuffTypes} },
|
||||
};
|
||||
|
||||
#define CROSSHAIR_INDEX 6
|
||||
|
||||
menu_t VideoMenu =
|
||||
{
|
||||
"DISPLAY OPTIONS",
|
||||
|
|
@ -3363,6 +3365,6 @@ void InitCrosshairsList()
|
|||
}
|
||||
SC_Close();
|
||||
}
|
||||
VideoItems[6].b.numvalues = float(Crosshairs.Size());
|
||||
VideoItems[6].e.valuestrings = &Crosshairs[0];
|
||||
VideoItems[CROSSHAIR_INDEX].b.numvalues = float(Crosshairs.Size());
|
||||
VideoItems[CROSSHAIR_INDEX].e.valuestrings = &Crosshairs[0];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue