The z axis is inverted so the greater the lower it is, the smaller
the above it is.
Patch by: Leandro Dorileo <dorileo@profusion.mobi>
SVN revision: 78682
stacking1 = (const EPhysics_Body_Evas_Stacking *)d1;
stacking2 = (const EPhysics_Body_Evas_Stacking *)d2;
- if (!stacking1) return -1;
- if (!stacking2) return 1;
+ if (!stacking1) return 1;
+ if (!stacking2) return -1;
- if (stacking1->stacking < stacking2->stacking) return 1;
- if (stacking2->stacking > stacking2->stacking) return -1;
+ if (stacking1->stacking < stacking2->stacking) return -1;
+ if (stacking2->stacking > stacking2->stacking) return 1;
return 0;
}