algorithm.c
changeset 10 9148590f009d
parent 8 b41a580b3abe
child 12 a2c334a71a6b
child 25 b37843173279
equal deleted inserted replaced
9:622136ed6c62 10:9148590f009d
   393 	}
   393 	}
   394 
   394 
   395 	return num_box_movements;
   395 	return num_box_movements;
   396 }
   396 }
   397 
   397 
   398 static void force_move_box(struct Map *m, struct BoxMove move)
   398 static void force_move_box(struct Map *m, const struct BoxMove move)
   399 {
   399 {
   400 	struct Position newpos;
   400 	struct Position newpos;
   401 
   401 
   402 
   402 
   403 	/* Add coords */
   403 	/* Add coords */