1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

- fixed compile issues. Renamed several "battleobstacleSplaced" to "battleobstacleplaced"

- implemented --disable-video command line switch
This commit is contained in:
Ivan Savenko
2012-05-05 08:32:55 +00:00
parent 7d706ba8a3
commit 82b60c00a2
4 changed files with 11 additions and 8 deletions

View File

@ -906,9 +906,9 @@ startWalking:
si.stacks.push_back(bsa);
sendAndApply(&si);
ObstaclesRemoved or;
or.obstacles.insert(obstacle->uniqueID);
sendAndApply(&or);
ObstaclesRemoved obsRem;
obsRem.obstacles.insert(obstacle->uniqueID);
sendAndApply(&obsRem);
//if stack didn't die in explosion, continue movement
if(curStack->alive())
@ -918,7 +918,6 @@ startWalking:
}
}
}
return ret;
}