1
0
Fork 0

use new vector concatenation feature :-)

This commit is contained in:
mfranz 2007-03-30 20:27:07 +00:00
parent 2893846dea
commit 3139f01083

View file

@ -48,11 +48,9 @@ var update_loop = func {
var tankers = [];
if (ai_enabled) {
var ac = aimodelsN.getChildren("aircraft");
foreach (var mp; aimodelsN.getChildren("multiplayer")) {
append(ac, mp);
}
var mp = aimodelsN.getChildren("multiplayer");
foreach (var a; ac) {
foreach (var a; ac ~ mp) {
var contact = a.getNode("refuel/contact", 1).getValue();
var tanker = a.getNode("tanker", 1).getValue();