• Mohcine Chraibi's avatar
    Add flag to SrcManager to mark building update · 7fcb7c5b
    Mohcine Chraibi authored
    Source thread updates the Queues, but the building is not updated yet.
    That leads, to the same agents will be generated by the sources
    and added to the Queue.
    The queue will be emptied in the main thread.
    Therefore, the source thread should not iterate again, unless the
    main thread empties the queues and updated the building pointer
AgentsSourcesManager.cpp 24.2 KB