(lchr[], nchr[], mchr[], plchr[]) [_WIN32]:
Add size to array declarations to compile in WIN32.
This commit is contained in:
parent
2ddc989e09
commit
0f23f96fe0
4 changed files with 4 additions and 4 deletions
|
@ -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];
|
||||
|
|
|
@ -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];
|
||||
|
|
|
@ -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];
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue