func_button: if "lip" isn't set, set it to be 4.
This commit is contained in:
parent
ff649187ee
commit
53bab46f7d
1 changed files with 4 additions and 0 deletions
|
@ -290,6 +290,10 @@ func_button::Respawn(void)
|
|||
m_flSpeed = 100;
|
||||
}
|
||||
|
||||
if (!m_flLip) {
|
||||
m_flLip = 4.0f;
|
||||
}
|
||||
|
||||
if (HasSpawnFlags(SF_BTT_NOMOVE)) {
|
||||
SetMoverPosition2(GetMoverPosition1());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue