diff --git a/code/aliens.cpp b/code/aliens.cpp index ed967ff..aac7de2 100644 --- a/code/aliens.cpp +++ b/code/aliens.cpp @@ -768,7 +768,7 @@ int traceView(object *theEnemy) } } - *anEnemy++; + anEnemy++; } return 0; @@ -819,7 +819,7 @@ void moveAndSeparate(object *theEnemy) { if ((theEnemy->flags & FL_LEAVESECTOR) || (theEnemy->classDef == CD_DRONE) || (theEnemy->classDef == CD_ASTEROID2) || (theEnemy->owner == anEnemy->owner) || (theEnemy->owner->owner == anEnemy->owner) || (anEnemy->shield < 1)) { - *anEnemy++; + anEnemy++; continue; } @@ -838,7 +838,7 @@ void moveAndSeparate(object *theEnemy) hasCollided = 1; } - *anEnemy++; + anEnemy++; } } @@ -1238,7 +1238,7 @@ void doAliens() theEnemy->y += engine.ssy; } - *theEnemy++; + theEnemy++; } } diff --git a/code/bullets.cpp b/code/bullets.cpp index 645a3d6..d410f51 100644 --- a/code/bullets.cpp +++ b/code/bullets.cpp @@ -484,7 +484,7 @@ void fireRay(object *attacker) } } - *anEnemy++; + anEnemy++; } attacker->ammo[0]--; diff --git a/code/classes.h b/code/classes.h index ee90c15..d291d87 100644 --- a/code/classes.h +++ b/code/classes.h @@ -373,7 +373,7 @@ class Graphics { } } - *in++; + in++; } return area.y;