SWY1985 / CivOne

An open source implementation of Sid Meier's Civilization.
http://www.civone.org/
Creative Commons Zero v1.0 Universal
245 stars 49 forks source link

2 issues with destroying enemy civ message #446

Closed axx0 closed 6 years ago

axx0 commented 6 years ago

The message should be displayed immediately after I destroy enemy civ (it was now displayed only after the end of turn). Also I was playing Egyptians and the message I got was "Zulu civilization destroyed by barbarians" (this happenrd only once).

SWY1985 commented 6 years ago

The current implementation is half-baked. After capturing a city, the game should check who destroyed the civ and show the message but it doesn't work correctly. It also doesn't check after destroying a unit. I will review this code.