Changeset 527 for abuse/trunk/src/level.cpp
- Timestamp:
- Apr 22, 2011, 4:13:04 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/level.cpp
r524 r527 3007 3007 if (o!=exclude && o->hurtable()) 3008 3008 { 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; 3010 3010 int32_t cx=abs(o->x-x),cy1=abs(y1-y),d1,d2,cy2=abs(y2-y); 3011 3011 if (cx<cy1)
Note: See TracChangeset
for help on using the changeset viewer.