func_breakable: Force angles to be 0. Map editors generally don't support setting angles on brush entities anyway.
This commit is contained in:
parent
f8606ae7e7
commit
297741eac1
1 changed files with 3 additions and 0 deletions
|
@ -337,6 +337,9 @@ func_breakable::func_breakable(void)
|
|||
{
|
||||
CBaseTrigger::CBaseTrigger();
|
||||
|
||||
/* contrary to what some map designers think, angles are not supported */
|
||||
m_oldAngle = angles = [0,0,0];
|
||||
|
||||
switch (m_iMaterial) {
|
||||
case BREAKMT_GLASS:
|
||||
Sound_Precache("func_breakable.impact_glass");
|
||||
|
|
Loading…
Reference in a new issue