MCPcopy Create free account
hub / github.com/aburch/simutrans / sync_remove

Method sync_remove

simworld.cc:2901–2913  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2899
2900
2901bool karte_t::sync_remove(sync_steppable *obj) // entfernt alle dinge == obj aus der Liste
2902{
2903 if( sync_step_running ) {
2904 sync_remove_list.append(obj);
2905 }
2906 else {
2907 if(sync_add_list.remove(obj)) {
2908 return true;
2909 }
2910 return sync_list.remove(obj);
2911 }
2912 return false;
2913}
2914
2915
2916/*

Callers 8

~convoi_tMethod · 0.80
betrete_depotMethod · 0.80
~stadtauto_tMethod · 0.80
~fussgaenger_tMethod · 0.80
~movingobj_tMethod · 0.80
entferneMethod · 0.80
~senke_tMethod · 0.80
~roadsign_tMethod · 0.80

Calls 2

appendMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected