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/cop.cpp

    r512 r527  
    183183
    184184    o->x=q->x;
    185     o->y=q->y+29-q->picture()->height();
     185    o->y=q->y+29-q->picture()->Size().y;
    186186
    187187    rand_on+=o->lvars[point_angle];
     
    653653    ret=player_move(o,xm,ym,but);
    654654    top->x=o->x;
    655     top->y=o->y+29-top->picture()->height();
     655    top->y=o->y+29-top->picture()->Size().y;
    656656
    657657    if ((but&2) && !o->lvars[is_teleporting] && o->state!=S_climbing && o->state!=S_climb_off)
     
    753753      if (bot->direction<0)
    754754        o->x+=4;
    755       o->y=bot->y+29-bot->picture()->height();
     755      o->y=bot->y+29-bot->picture()->Size().y;
    756756
    757757      void *ret=NULL;
Note: See TracChangeset for help on using the changeset viewer.