version 1.1 | version 1.2 | |||
---|---|---|---|---|
|
| |||
static int Crossfire_Party_InternalCompare(Crossfire_Party* left, Crossfire_Party* right) | static int Crossfire_Party_InternalCompare(Crossfire_Party* left, Crossfire_Party* right) | |||
{ | { | |||
return ((int)left->party - (int)right->party); | return (left->party < right->party ? -1 : ( left->party == right->party ? 0 : 1 ) ); | |||
} | } |
Legend:
|