Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int tam = dades(heli_id).paraca.size();
- for (int i = -ABAST; i <= ABAST and tam > 0; ++i){
- for (int j = -ABAST; j <= ABAST and tam > 0; ++j) {
- int xx = in.pos.x + i;
- int yy = in.pos.y + j;
- 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){
- ordena_paracaigudista(xx, yy);
- --tam;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement