K 10
svn:author
V 4
thue
K 8
svn:date
V 27
2000-05-01T22:43:19.000000Z
K 7
svn:log
V 841
Creates a function handle_unit_move_consequences(). It takes care of
-moving the units sight points
-waking neightboring units on sentry
-calling handle_unit_enter_city
-handle the consequences if there is a hut on the target tile.
-if a unit entering or leaving a city or a fortress changes the happiness of the city/the units homecity the relevant cities are refreshed and resent.
This should be used whenever a unit changes position on the map.
As it would result in some slowdown of the allready slow AI turn if cities were refreshed every time a unit entered or left a city the city update is only done for the units controlled by a player.

The patch also modifies server_remove_unit() to refresh a units homecity and the city the unit is in when called. Code that allready did this in some cases removed from remove_unit_spec_safe().

END
