MegaGlest / megaglest-source

MegaGlest real-time strategy game engine (cross-platform, 3-d)
http://megaglest.org/
346 stars 89 forks source link

prevent units from interrupting (cancelling) building construction #186

Closed andy5995 closed 5 years ago

andy5995 commented 5 years ago

This is a patch @mathusummut did for @Zetaglest in https://github.com/zetaglest/zetaglest-source/commit/bbc97d02bb5f51b1f3642204a3d9f40db83cce10 and https://github.com/zetaglest/zetaglest-source/commit/8117d96c639866a38ff622ca1735a52cbae012e0

Here is a video that demonstrates it (sorry it's not a very efficient demo) https://www.twitch.tv/videos/379850083##

titiger commented 5 years ago

I am not too happy with this, as it can trap units inside buildings and they get stuck in walls ( for example Pyramid ). And I have no real idea how to fix this. Thats why I tend to not accept this pull request. Is it ok for you andy9559 ?

andy5995 commented 5 years ago

Yes, I have no idea how to fix that either