- scriptified P_CalcHeight.
This was the only code using the ViewBob member variable. This also moves the range check for this variable to its application, because a badly behaved mod can just as easily change it at run time instead of just setting an absurdly large value in the class definition.
This commit is contained in:
parent
9e5c5b68c5
commit
2bd72478ee
8 changed files with 170 additions and 175 deletions
|
|
@ -2001,8 +2001,6 @@ CUSTOM_CVAR (Int, autosavecount, 4, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
|
|||
self = 0;
|
||||
}
|
||||
|
||||
extern void P_CalcHeight (player_t *);
|
||||
|
||||
void G_DoAutoSave ()
|
||||
{
|
||||
FString description;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue