mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-25 00:37:24 +02:00
Integrated CClientState into GameEngine class
This commit is contained in:
@ -144,7 +144,7 @@ void MapViewActions::handleHover(const Point & cursorPosition)
|
||||
|
||||
if(!context->isInMap(tile))
|
||||
{
|
||||
CCS->curh->set(Cursor::Map::POINTER);
|
||||
ENGINE->cursor().set(Cursor::Map::POINTER);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -156,6 +156,6 @@ void MapViewActions::hover(bool on)
|
||||
if(!on)
|
||||
{
|
||||
ENGINE->statusbar()->clear();
|
||||
CCS->curh->set(Cursor::Map::POINTER);
|
||||
ENGINE->cursor().set(Cursor::Map::POINTER);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user