mirror of
https://github.com/glest/glest-source.git
synced 2025-08-27 09:54:26 +02:00
- bugfix for multi-build bug found by tomreyn (looks like an infinite loop)
This commit is contained in:
@@ -1109,7 +1109,7 @@ Unit * UnitUpdater::findPeerUnitBuilder(Unit *unit) {
|
|||||||
if(prct != NULL) {
|
if(prct != NULL) {
|
||||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||||
|
|
||||||
if(command->getStateValue() == peerUnit->getId()) {
|
if(unit != peerUnit && command->getStateValue() == peerUnit->getId()) {
|
||||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||||
|
|
||||||
firstLinkedPeerRepairer = peerUnit;
|
firstLinkedPeerRepairer = peerUnit;
|
||||||
|
Reference in New Issue
Block a user