浏览代码

Merge pull request #582 from Ewilhan/ewilhan-fixCursorOnFriendlyMine

Fixed wrongCursorOnFriendlyDwelling
Alexander Shishkin 6 年之前
父节点
当前提交
66de80452d
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      client/windows/CAdvmapInterface.cpp

+ 2 - 0
client/windows/CAdvmapInterface.cpp

@@ -1755,6 +1755,8 @@ void CAdvMapInt::tileHovered(const int3 &mapPos)
 					CCS->curh->changeGraphic(ECursor::ADVENTURE, 3);
 					CCS->curh->changeGraphic(ECursor::ADVENTURE, 3);
 				else if(objAtTile->ID == Obj::HERO && objRelations == PlayerRelations::SAME_PLAYER)
 				else if(objAtTile->ID == Obj::HERO && objRelations == PlayerRelations::SAME_PLAYER)
 					CCS->curh->changeGraphic(ECursor::ADVENTURE, 2);
 					CCS->curh->changeGraphic(ECursor::ADVENTURE, 2);
+				else
+					CCS->curh->changeGraphic(ECursor::ADVENTURE, 0);
 			}
 			}
 			else
 			else
 				CCS->curh->changeGraphic(ECursor::ADVENTURE, 0);
 				CCS->curh->changeGraphic(ECursor::ADVENTURE, 0);