1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-23 00:28:08 +02:00

Fixed unnecessary turret turning.

This commit is contained in:
Michał W. Urbańczyk
2013-02-27 03:06:49 +00:00
parent b78c4c19ea
commit 9cc7a28222

View File

@ -1396,7 +1396,7 @@ bool CBattleInfoCallback::isToReverseHlp (BattleHex hexFrom, BattleHex hexTo, bo
bool CBattleInfoCallback::isToReverse (BattleHex hexFrom, BattleHex hexTo, bool curDir, bool toDoubleWide, bool toDir) const //TODO: this should apply also to mechanics and cursor interface
{
if (hexTo < 0) //turret
if (hexFrom < 0) //turret
return false;
if (toDoubleWide)