- Make GCC happy.
SVN r3164 (trunk)
This commit is contained in:
parent
9ab6ac39a0
commit
f96dd8ff8a
10 changed files with 14 additions and 11 deletions
|
|
@ -55,6 +55,7 @@ DArgs::DArgs()
|
|||
//===========================================================================
|
||||
|
||||
DArgs::DArgs(const DArgs &other)
|
||||
: DObject()
|
||||
{
|
||||
Argv = other.Argv;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -417,7 +417,7 @@ void FNodeBuilder::FindPolyContainers (TArray<FPolyStart> &spots, TArray<FPolySt
|
|||
// Scan right for the seg closest to the polyobject's center after it
|
||||
// gets moved to its start spot.
|
||||
fixed_t closestdist = FIXED_MAX;
|
||||
DWORD closestseg = 0;
|
||||
unsigned int closestseg = UINT_MAX;
|
||||
|
||||
P(Printf ("start %d,%d -- center %d, %d\n", spot->x>>16, spot->y>>16, center.x>>16, center.y>>16));
|
||||
|
||||
|
|
@ -452,7 +452,7 @@ void FNodeBuilder::FindPolyContainers (TArray<FPolyStart> &spots, TArray<FPolySt
|
|||
}
|
||||
}
|
||||
}
|
||||
if (closestseg >= 0)
|
||||
if (closestseg != UINT_MAX)
|
||||
{
|
||||
loop = MarkLoop (closestseg, loop);
|
||||
P(Printf ("Found polyobj in sector %d (loop %d)\n", Segs[closestseg].frontsector,
|
||||
|
|
|
|||
|
|
@ -364,6 +364,7 @@ AActor::AActor () throw()
|
|||
}
|
||||
|
||||
AActor::AActor (const AActor &other) throw()
|
||||
: DThinker()
|
||||
{
|
||||
memcpy (&x, &other.x, (BYTE *)&this[1] - (BYTE *)&x);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ public:
|
|||
FTempFileName (const char *prefix=NULL);
|
||||
~FTempFileName ();
|
||||
|
||||
operator const char * const () { return Name; }
|
||||
operator const char * () { return Name; }
|
||||
const char * GetName () const { return Name; }
|
||||
|
||||
private:
|
||||
|
|
|
|||
|
|
@ -1212,6 +1212,7 @@ FWadLump::FWadLump ()
|
|||
}
|
||||
|
||||
FWadLump::FWadLump (const FWadLump ©)
|
||||
: FileReader()
|
||||
{
|
||||
// This must be defined isn't called.
|
||||
File = copy.File;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue