|
|
@ -346,8 +346,9 @@ bool ureg_finalize_all_init(void) |
|
|
|
// try to assign unique callsigns
|
|
|
|
// try to assign unique callsigns
|
|
|
|
if (pUnit->callsign == 0) { |
|
|
|
if (pUnit->callsign == 0) { |
|
|
|
// this is very inefficient but should be reliable
|
|
|
|
// this is very inefficient but should be reliable
|
|
|
|
bool change = false; |
|
|
|
bool change; |
|
|
|
do { |
|
|
|
do { |
|
|
|
|
|
|
|
change = false; |
|
|
|
UlistEntry *xli = ulist_head; |
|
|
|
UlistEntry *xli = ulist_head; |
|
|
|
while (xli != NULL) { |
|
|
|
while (xli != NULL) { |
|
|
|
if (xli->unit.callsign != 0) { |
|
|
|
if (xli->unit.callsign != 0) { |
|
|
|