func_wall_toggle: Fix networking bug, we weren't using SetModelindex()
This commit is contained in:
parent
ef66642c7f
commit
dabe93a9ce
1 changed files with 2 additions and 2 deletions
|
@ -56,10 +56,10 @@ func_wall_toggle::Trigger(entity act, int state)
|
|||
}
|
||||
|
||||
if (m_iVisible) {
|
||||
modelindex = m_oldmodelindex;
|
||||
SetModelindex(m_oldmodelindex);
|
||||
solid = SOLID_BSP;
|
||||
} else {
|
||||
modelindex = 0;
|
||||
SetModelindex(0);
|
||||
solid = SOLID_NOT;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue