Revision 93cebb99 scout/scoutsim/src/sim_frame.cpp

View differences:

scout/scoutsim/src/sim_frame.cpp
786 786

  
787 787
                if(is_inrange(emitter_pos, bom_pos, bom_aperture, bom_distance)) {
788 788
                        
789
                        it->second->update_BOM(i, true);
789
                        it->second->update_BOM(i, 1, 0);
790
                            // TODO: change to last arg to actual sender ID
790 791
                        
791 792
                    }
792 793
                else {
793 794
                        
794
                        it->second->update_BOM(i, false);
795
                        it->second->update_BOM(i, 1, 0);
796
                            // TODO: change to last arg to actual sender ID
795 797
                        
796 798
                }
797 799
                }

Also available in: Unified diff