]> icculus.org git repositories - divverent/nexuiz.git/blob - data/qcsrc/menu/custom/visible.qc
I did not want to do that. Sorry, disk space. Some admin better get rid of that mess.
[divverent/nexuiz.git] / data / qcsrc / menu / custom / visible.qc
1 // Property of Alientrap/AK
2 // custom/visible.qc
3
4 void( entity pItem ) Nex_MakeOnlyVisible =
5 {
6         local entity lChild;
7
8         for( lChild = pItem._parent._child ; lChild ; lChild = lChild._next )
9                 lChild.flag = lChild.flag | FLAG_HIDDEN;
10
11         pItem.flag = pItem.flag - FLAG_HIDDEN;
12
13         Menu_UpdateRunFlags();
14 };