- GCC warned about this.

This commit is contained in:
Christoph Oelckers 2021-09-06 22:17:38 +02:00
parent fb95f0fff7
commit 3d63c44aae

View file

@ -1484,7 +1484,7 @@ void OperatePath(unsigned int nSector, XSECTOR *pXSector, EVENT event)
int nId = pXSprite2->data2;
BloodStatIterator it(kStatPathMarker);
while (actor = it.Next())
while ((actor = it.Next()))
{
pSprite = &actor->s();
if (pSprite->type == kMarkerPath)
@ -1630,7 +1630,7 @@ void InitPath(unsigned int nSector, XSECTOR *pXSector)
int nId = pXSector->data;
BloodStatIterator it(kStatPathMarker);
while (actor = it.Next())
while ((actor = it.Next()))
{
pSprite = &actor->s();
if (pSprite->type == kMarkerPath && actor->hasX())