[z1845] move SetActiveObjectState to WorldObject level

(based on commit 0b69f80)
(based on commit e92b597)

(cleaned version of 17d436a)

(based on commit [s1406] - ff30c32)