* Prevents any mouseover bugs on dismantling base facilities before setBase has had time to update the base. */
| 131 | * Prevents any mouseover bugs on dismantling base facilities before setBase has had time to update the base. |
| 132 | */ |
| 133 | void BaseView::resetSelectedFacility() |
| 134 | { |
| 135 | _facilities[_selFacility->getX()][_selFacility->getY()] = 0; |
| 136 | _selFacility = 0; |
| 137 | } |
| 138 | |
| 139 | |
| 140 | /** |
no test coverage detected