Ignore:
Timestamp:
Apr 22, 2011, 4:13:04 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: some cleaning up in trans_image before I templatise half of it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/level.cpp

    r524 r527  
    30073007    if (o!=exclude && o->hurtable())
    30083008    {
    3009       int32_t y1=o->y,y2=o->y-o->picture()->height();
     3009      int32_t y1=o->y,y2=o->y-o->picture()->Size().y;
    30103010      int32_t cx=abs(o->x-x),cy1=abs(y1-y),d1,d2,cy2=abs(y2-y);
    30113011      if (cx<cy1)
Note: See TracChangeset for help on using the changeset viewer.