- Fixed: The center flag for drawimage didn't work.
- Fixed: GCC didn't like casting from seg_t* to unsigned int on 64-bit systems. SVN r2542 (trunk)
This commit is contained in:
parent
1fda9421ac
commit
a0d16bc99a
2 changed files with 12 additions and 12 deletions
|
|
@ -1325,8 +1325,8 @@ void P_LoadSubsectors (MapData * map)
|
|||
if ((size_t)subsectors[i].firstline >= maxseg)
|
||||
{
|
||||
Printf ("Subsector %d contains invalid segs %u-%u\n"
|
||||
"The BSP will be rebuilt.\n", i, (unsigned)subsectors[i].firstline,
|
||||
(unsigned)subsectors[i].firstline + subsectors[i].numlines - 1);
|
||||
"The BSP will be rebuilt.\n", i, (unsigned)((size_t)subsectors[i].firstline),
|
||||
(unsigned)((size_t)subsectors[i].firstline) + subsectors[i].numlines - 1);
|
||||
ForceNodeBuild = true;
|
||||
delete[] nodes;
|
||||
delete[] subsectors;
|
||||
|
|
@ -1336,7 +1336,7 @@ void P_LoadSubsectors (MapData * map)
|
|||
{
|
||||
Printf ("Subsector %d contains invalid segs %u-%u\n"
|
||||
"The BSP will be rebuilt.\n", i, maxseg,
|
||||
(unsigned)subsectors[i].firstline + subsectors[i].numlines - 1);
|
||||
(unsigned)((size_t)subsectors[i].firstline) + subsectors[i].numlines - 1);
|
||||
ForceNodeBuild = true;
|
||||
delete[] nodes;
|
||||
delete[] subsectors;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue