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

    r526 r527  
    273273}
    274274
    275 int figure::size()
    276 {
    277   return forward->size()+backward->size()+
    278   hit->size()+
    279   f_damage->size()+
    280   b_damage->size()+sizeof(figure);
     275size_t figure::MemUsage()
     276{
     277    return forward->MemUsage() + backward->MemUsage() + hit->size()
     278            + f_damage->size() + b_damage->size() + sizeof(figure);
    281279}
    282280
Note: See TracChangeset for help on using the changeset viewer.