- allow threaded calculation of unit movement for attacking units (was disabled for nig's bug but this was not the cause so re-enable)
This commit is contained in:
parent
01b6986581
commit
39f81afe5c
|
@ -527,8 +527,8 @@ void UnitUpdater::updateAttack(Unit *unit, int frameIndex) {
|
||||||
|
|
||||||
|
|
||||||
TravelState tsValue = tsImpossible;
|
TravelState tsValue = tsImpossible;
|
||||||
if(frameIndex < 0) {
|
//if(frameIndex < 0) {
|
||||||
//{
|
{
|
||||||
//printf("In [%s::%s Line: %d] START pathfind for attacker [%d - %s]\n",__FILE__,__FUNCTION__,__LINE__,unit->getId(), unit->getType()->getName().c_str());
|
//printf("In [%s::%s Line: %d] START pathfind for attacker [%d - %s]\n",__FILE__,__FUNCTION__,__LINE__,unit->getId(), unit->getType()->getName().c_str());
|
||||||
//fflush(stdout);
|
//fflush(stdout);
|
||||||
switch(this->game->getGameSettings()->getPathFinderType()) {
|
switch(this->game->getGameSettings()->getPathFinderType()) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user