function c_dewait(alignment) {
var i;
for (i=0; i<array_length(global.units[alignment]); i++) {
global.units[alignment][i].waiting = false;
}