| 143 | } |
| 144 | |
| 145 | void CUIGameCustom::RemoveCustomStatic(LPCSTR id) |
| 146 | { |
| 147 | st_vec::iterator it = std::find(m_custom_statics.begin(), m_custom_statics.end(), id); |
| 148 | if (it != m_custom_statics.end()) |
| 149 | { |
| 150 | xr_delete((*it).m_static); |
| 151 | m_custom_statics.erase(it); |
| 152 | |
| 153 | UpdateStaticPriorityIndex(); |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | #include "ui/UIGameTutorial.h" |
| 158 |