(lchr[], nchr[], mchr[], plchr[]) [_WIN32]:

Add size to array declarations to compile in WIN32.
This commit is contained in:
Ron Koenderink 2006-02-19 21:05:55 +00:00
parent 2ddc989e09
commit 0f23f96fe0
4 changed files with 4 additions and 4 deletions

View file

@ -42,4 +42,4 @@
* Table of land unit types
* Initialized on startup from land.config and deity custom config (if any).
*/
struct lchrstr lchr[];
struct lchrstr lchr[N_MAXLAND + 1];

View file

@ -40,4 +40,4 @@
* Table of nuke types
* Initialized on startup from nuke.config and deity custom config (if any).
*/
struct nchrstr nchr[];
struct nchrstr nchr[N_MAXNUKE + 1];

View file

@ -44,4 +44,4 @@
* Table of plane types
* Initialized on startup from plane.config and deity custom config (if any).
*/
struct plchrstr plchr[];
struct plchrstr plchr[N_MAXPLANE + 1];

View file

@ -44,4 +44,4 @@
* Table of ship types
* Initialized on startup from ship.config and deity custom config (if any).
*/
struct mchrstr mchr[];
struct mchrstr mchr[N_MAXSHIPS + 1];