- GCC warning fixes (GCC stupidity for the most part.)
SVN r3154 (trunk)
This commit is contained in:
parent
1ea5cc8bd8
commit
1993e969b7
38 changed files with 152 additions and 119 deletions
|
|
@ -63,8 +63,8 @@ CCMD (dumpmap)
|
|||
return;
|
||||
}
|
||||
|
||||
wadinfo_t header = { PWAD_ID, 12 };
|
||||
wadlump_t lumps[12] = { {0} };
|
||||
wadinfo_t header = { PWAD_ID, 12, 0 };
|
||||
wadlump_t lumps[12] = { {0, 0, {NULL}} };
|
||||
|
||||
fseek (file, 12, SEEK_SET);
|
||||
|
||||
|
|
@ -95,7 +95,7 @@ CCMD (dumpmap)
|
|||
|
||||
static int WriteTHINGS (FILE *file)
|
||||
{
|
||||
mapthinghexen_t mt = { 0 };
|
||||
mapthinghexen_t mt = { 0, 0, 0, 0, 0, 0, 0, 0, {NULL} };
|
||||
AActor *mo = players[consoleplayer].mo;
|
||||
|
||||
mt.x = LittleShort(short(mo->x >> FRACBITS));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue