From 929f63ee2e95e1c2f35f2c3ff9816a3400bfe063 Mon Sep 17 00:00:00 2001 From: Chris Dombroski Date: Mon, 5 Jan 2015 15:57:34 -0500 Subject: [PATCH] Fix error in WatchedRace::SortUnitsByAge --- plugins/zone.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/zone.cpp b/plugins/zone.cpp index 594840361..571eb6bba 100644 --- a/plugins/zone.cpp +++ b/plugins/zone.cpp @@ -2870,10 +2870,10 @@ public: sort(mk_ptr.begin(), mk_ptr.end(), compareUnitAgesOlder); sort(fa_ptr.begin(), fa_ptr.end(), compareUnitAgesYounger); sort(ma_ptr.begin(), ma_ptr.end(), compareUnitAgesYounger); - sort(fk_pri_ptr.begin(), fk_ptr.end(), compareUnitAgesOlder); - sort(mk_pri_ptr.begin(), mk_ptr.end(), compareUnitAgesOlder); - sort(fa_pri_ptr.begin(), fa_ptr.end(), compareUnitAgesYounger); - sort(ma_pri_ptr.begin(), ma_ptr.end(), compareUnitAgesYounger); + sort(fk_pri_ptr.begin(), fk_pri_ptr.end(), compareUnitAgesOlder); + sort(mk_pri_ptr.begin(), mk_pri_ptr.end(), compareUnitAgesOlder); + sort(fa_pri_ptr.begin(), fa_pri_ptr.end(), compareUnitAgesYounger); + sort(ma_pri_ptr.begin(), ma_pri_ptr.end(), compareUnitAgesYounger); } void PushUnit(df::unit * unit)