diff --git a/source/games/blood/src/triggers.cpp b/source/games/blood/src/triggers.cpp index 48325b7b3..6f2cd7c57 100644 --- a/source/games/blood/src/triggers.cpp +++ b/source/games/blood/src/triggers.cpp @@ -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())