MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / resetSelectedFacility

Method resetSelectedFacility

src/Basescape/BaseView.cpp:133–137  ·  view source on GitHub ↗

* Prevents any mouseover bugs on dismantling base facilities before setBase has had time to update the base. */

Source from the content-addressed store, hash-verified

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

Callers 1

btnOkClickMethod · 0.80

Calls 2

getXMethod · 0.45
getYMethod · 0.45

Tested by

no test coverage detected