mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-31 13:10:39 +00:00
- GCC warned about this.
This commit is contained in:
parent
fb95f0fff7
commit
3d63c44aae
1 changed files with 2 additions and 2 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue