SFTtech/openage — pull request #161 by Jon0 (2014-11-18 09:31:39+00:00)
Title: reference system to stop segfault when gather target is removed

Use a reference class instead of a pointer to a targeted object. there was no way to tell if the unit pointed at was deleted. If the target is removed from the game now, the reference can indicate this.