jdorje: Encapsulate the unit_types array inside unit...

[email protected] Sat, 23 Jul 2005 11:11:04 -0700
Newsgroups gmane.games.freeciv.cvs
Message-ID <[email protected]>
This is an automated notification of a change to freeciv cvs, 
on Sat Jul 23 11:02:44 PDT 2005 = Sat Jul 23 18:02:44 2005 (GMT)
by Jason Dorje Short <[email protected]>

---- Files affected:

freeciv/ai advmilitary.c aisettler.c aitools.c
freeciv/client mapctrl_common.c
freeciv/common unittype.c unittype.h
freeciv/server cityhand.c citytools.c gamelog.c ruleset.c

---- Log message:
      Tag: HEAD

Encapsulate the unit_types array inside unittype.c.  All the old users
now use get_unit_type.  get_unit_type returns NULL for out-of-range
calls.

Patch by me in PR#13513.