Revision 794038c2
fix out of range scout not updating BOM bug
scout/scoutsim/src/sim_frame.cpp | ||
---|---|---|
789 | 789 |
it->second->update_BOM(i, 0, 0); |
790 | 790 |
} |
791 | 791 |
} |
792 |
} else { |
|
793 |
// nothing in the emitter range, set everything to 0 |
|
794 |
for (int i = 0; i<10; i++) { |
|
795 |
it->second->update_BOM(i, 0, 0); |
|
796 |
} |
|
792 | 797 |
} |
793 | 798 |
} |
794 | 799 |
|
Also available in: Unified diff