| 89 | } |
| 90 | |
| 91 | bool MissionMarker::onAdd() |
| 92 | { |
| 93 | if(!Parent::onAdd() || !mDataBlock) |
| 94 | return(false); |
| 95 | |
| 96 | if(gEditingMission) |
| 97 | { |
| 98 | addToScene(); |
| 99 | mAddedToScene = true; |
| 100 | } |
| 101 | |
| 102 | return(true); |
| 103 | } |
| 104 | |
| 105 | void MissionMarker::onRemove() |
| 106 | { |
nothing calls this directly
no test coverage detected