Skip to content

Commit

Permalink
fix #4695
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Oct 17, 2018
1 parent d13dc10 commit af522f5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/microsim/pedestrians/MSPerson.cpp
Expand Up @@ -635,7 +635,10 @@ MSPerson::getNextEdgePtr() const {

void
MSPerson::tripInfoOutput(OutputDevice& os) const {
os.openTag("personinfo").writeAttr("id", getID()).writeAttr("depart", time2string(getDesiredDepart()));
os.openTag("personinfo");
os.writeAttr("id", getID());
os.writeAttr("depart", time2string(getDesiredDepart()));
os.writeAttr("type", getVehicleType().getID());
for (MSTransportablePlan::const_iterator i = myPlan->begin(); i != myPlan->end(); ++i) {
(*i)->tripInfoOutput(os, this);
}
Expand Down

0 comments on commit af522f5

Please sign in to comment.