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

Method mapIn

src/Battlescape/BattlescapeState.cpp:792–796  ·  view source on GitHub ↗

* Handles mouse entering the map surface. * @param action Pointer to an action. */

Source from the content-addressed store, hash-verified

790 * @param action Pointer to an action.
791 */
792void BattlescapeState::mapIn(Action *)
793{
794 _isMouseScrolling = false;
795 _map->setButtonsPressed(Options::battleDragScrollButton, false);
796}
797
798/**
799 * Moves the selected unit up.

Callers

nothing calls this directly

Calls 1

setButtonsPressedMethod · 0.80

Tested by

no test coverage detected