]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
robodim.h: free_puck_pos(): parameter "lot number" removed
authorFilip Jares <filipjares@post.cz>
Sat, 18 Apr 2009 15:26:58 +0000 (17:26 +0200)
committerFilip Jares <filipjares@post.cz>
Sat, 18 Apr 2009 15:26:58 +0000 (17:26 +0200)
src/robodim/robodim.h

index 329388e078ac120283ddef41367f3ffd618758d7..b0cd5df995e14c5c7b990db203ff90ed12a37d32 100644 (file)
@@ -139,7 +139,7 @@ extern const char free_puck_present[10][4][3];
  * ie. the nearest puck to the start position is @nx=0,ny=3
  * (yes, a stupid coord system...)
  */
-static inline struct puck_pos free_puck_pos(int lot, int nx, int ny) {
+static inline struct puck_pos free_puck_pos(int nx, int ny) {
        struct puck_pos pos = {PUCK_GRID_X_OFFSET + nx*PUCK_GRID_DELTA_X,
                               PUCK_GRID_Y_OFFSET + ny*PUCK_GRID_DELTA_Y};
        return pos;