Created
July 22, 2015 19:23
-
-
Save selftaught/1bcf6f3ca3470bf92ae3 to your computer and use it in GitHub Desktop.
Room1 / Units loop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for(Room1* room = me->pAct->pRoom1; room != NULL; room = room->pNextRoom) { | |
for(UnitAny* unit = room->pUnitFirst; unit != NULL; unit = unit->pListNext) { | |
if(unit->dwType == 1) { | |
draw_cross(unit->pPath->xPos, unit->pPath->yPos); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment