All pastes #818526 Raw Edit

Someone

public cpp v1 · immutable
·published 2007-12-16 10:32 UTC
rendered paste body
for(int i=0;i < actors.size(); i++) {  actors.at(i)->show((int)actors.at(i)->xpos, (int)actors.at(i)->ypos, *screen);  if(shootTick > 50)  {   if(actors.at(i)->xpos <= player->xpos+5 && actors.at(i)->xpos >= player->xpos-5)   {    actors.at(i)->shoot(false);   }   shootTick = 0;  }