Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. int tam = dades(heli_id).paraca.size();
  2. for (int i = -ABAST; i <= ABAST and tam > 0; ++i){
  3. for (int j = -ABAST; j <= ABAST and tam > 0; ++j) {
  4. int xx = in.pos.x + i;
  5. int yy = in.pos.y + j;
  6. if (valid(xx,yy) and que(xx,yy) != AIGUA and que(xx,yy) != MUNTANYA and temps_foc(xx,yy) == 0 and quin_soldat(xx,yy) == 0){
  7. ordena_paracaigudista(xx, yy);
  8. --tam;
  9. }
  10. }
  11.  
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement