Ignore:
Timestamp:
Sep 23, 2013, 11:03:03 PM (9 years ago)
Author:
Sam Hocevar
Message:

core: use vec2::zero and ivec2::zero in a few places.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/branches/lol/src/automap.cpp

    r715 r719  
    145145
    146146  // set the clip back to full window size because soemthing else could mess with the area
    147   automap_window->m_surf->SetClip(ivec2(0), screen->Size());
     147  automap_window->m_surf->SetClip(ivec2::zero, screen->Size());
    148148}
    149149
     
    160160        old_dy = -1000;
    161161
    162         automap_window = wm->CreateWindow(ivec2(0), ivec2(w * AUTOTILE_WIDTH,
     162        automap_window = wm->CreateWindow(ivec2::zero, ivec2(w * AUTOTILE_WIDTH,
    163163                                          h * AUTOTILE_HEIGHT), "Map");
    164164        automap_window->m_surf->Bar(ivec2(17, 1), ivec2(17 + 8 * 6 + 3, 6),
Note: See TracChangeset for help on using the changeset viewer.