mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-16 00:10:48 +02:00
Fixed scrolling blocking with Ctrl
This commit is contained in:
@@ -52,8 +52,11 @@ private:
|
||||
/// currently acting player
|
||||
PlayerColor currentPlayerID;
|
||||
|
||||
/// uses EDirections enum
|
||||
bool scrollingCursorSet;
|
||||
/// if true, cursor was changed to scrolling and must be reset back once scroll is over
|
||||
bool scrollingWasActive;
|
||||
|
||||
/// if true, then scrolling was blocked via ctrl and should not restart until player move cursor outside scrolling area
|
||||
bool scrollingWasBlocked;
|
||||
|
||||
const CSpell *spellBeingCasted; //nullptr if none
|
||||
|
||||
|
||||
Reference in New Issue
Block a user