- Fix errors/warnings from MinGW 4.5.0 (tdm-1).
- Disable the missing field initializers warnings that -Wextra produces from GCC. SVN r3173 (trunk)
This commit is contained in:
parent
b477ed8490
commit
d3b44a4172
19 changed files with 25 additions and 23 deletions
|
|
@ -64,7 +64,7 @@ CCMD (dumpmap)
|
|||
}
|
||||
|
||||
wadinfo_t header = { PWAD_ID, 12, 0 };
|
||||
wadlump_t lumps[12] = { {0, 0, {NULL}} };
|
||||
wadlump_t lumps[12] = { {0, 0, {0}} };
|
||||
|
||||
fseek (file, 12, SEEK_SET);
|
||||
|
||||
|
|
@ -95,7 +95,7 @@ CCMD (dumpmap)
|
|||
|
||||
static int WriteTHINGS (FILE *file)
|
||||
{
|
||||
mapthinghexen_t mt = { 0, 0, 0, 0, 0, 0, 0, 0, {NULL} };
|
||||
mapthinghexen_t mt = { 0, 0, 0, 0, 0, 0, 0, 0, {0} };
|
||||
AActor *mo = players[consoleplayer].mo;
|
||||
|
||||
mt.x = LittleShort(short(mo->x >> FRACBITS));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue