mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
Fix crash related to V hotkey during AI turn
This commit is contained in:
parent
6995911d6e
commit
dffd7c0f24
@ -536,6 +536,8 @@ void CMapHandler::CMapWorldViewBlitter::drawTileOverlay(SDL_Surface * targetSurf
|
||||
for(auto & object : objects)
|
||||
{
|
||||
const CGObjectInstance * obj = object.obj;
|
||||
if(!obj)
|
||||
continue;
|
||||
|
||||
const bool sameLevel = obj->pos.z == pos.z;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user