mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-06-04 03:00:47 +00:00
* Updated to ZDoom r2542:
- 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. git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@893 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
35e395f5f4
commit
bd45d338fc
3 changed files with 14 additions and 14 deletions
|
@ -1365,8 +1365,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;
|
||||
|
@ -1376,7 +1376,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