1
0
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:
Ivan Savenko
2025-02-10 22:08:50 +00:00
parent cacceda950
commit f657e85305
51 changed files with 240 additions and 275 deletions

View File

@ -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);
}
}