- if(left != 0) {
- if(base.width == 0 && base.height == 0) {
- base.width = left[0]->w;
- base.height = left[0]->h;
- } else if(base.width != left[0]->w || base.height != left[0]->h) {
- base.x -= (left[0]->w - base.width) / 2;
- base.y -= left[0]->h - base.height;
- base.width = left[0]->w;
- base.height = left[0]->h;
- old_base = base;
+ if (1)
+ {
+ base.width = 32;
+ base.height = 32;
+ }
+ else
+ {
+ // FIXME: Using the image size for the physics and collision is
+ // a bad idea, since images should always overlap there physical
+ // representation
+ if(left != 0) {
+ if(base.width == 0 && base.height == 0) {
+ base.width = left[0]->w;
+ base.height = left[0]->h;
+ } else if(base.width != left[0]->w || base.height != left[0]->h) {
+ base.x -= (left[0]->w - base.width) / 2;
+ base.y -= left[0]->h - base.height;
+ base.width = left[0]->w;
+ base.height = left[0]->h;
+ old_base = base;
+ }
+ } else {
+ base.width = base.height = 0;
+ }