ProcessThisOpponent matching
This commit is contained in:
parent
71c373c2f6
commit
040ba56547
|
|
@ -1794,13 +1794,16 @@ void ChooseNewObjective(tOpponent_spec* pOpponent_spec, int pMust_choose_one) {
|
|||
void ProcessThisOpponent(tOpponent_spec* pOpponent_spec) {
|
||||
int i;
|
||||
|
||||
if ((gMap_mode && gShow_opponents) || pOpponent_spec->last_in_view + 3000 >= gTime_stamp_for_this_munging) {
|
||||
if ((!gMap_mode || !gShow_opponents) && (pOpponent_spec->last_in_view + 3000 < gTime_stamp_for_this_munging)) {
|
||||
if (pOpponent_spec->cheating == 0) {
|
||||
StartToCheat(pOpponent_spec);
|
||||
}
|
||||
} else {
|
||||
if (pOpponent_spec->cheating) {
|
||||
OiStopCheating(pOpponent_spec);
|
||||
}
|
||||
} else if (pOpponent_spec->cheating == 0) {
|
||||
StartToCheat(pOpponent_spec);
|
||||
}
|
||||
|
||||
ChooseNewObjective(pOpponent_spec, pOpponent_spec->new_objective_required);
|
||||
pOpponent_spec->new_objective_required = 0;
|
||||
if (gCountdown || gRace_finished) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue