# | Line 49 | Line 49 | void DirectionalAtomTypesSectionParser::parseLine(Forc | |
---|---|---|
49 | if (atomType == NULL) { | |
50 | dAtomType = new DirectionalAtomType(); | |
51 | int ident = ff.getNAtomType() + 1; | |
52 | < | atomType->setIdent(ident); |
53 | < | atomType->setName(atomTypeName); |
54 | < | ff.addAtomType(atomTypeName, atomType); |
52 | > | dAtomType->setIdent(ident); |
53 | > | dAtomType->setName(atomTypeName); |
54 | > | ff.addAtomType(atomTypeName, dAtomType); |
55 | } else { | |
56 | dAtomType = dynamic_cast<DirectionalAtomType*>(atomType); | |
57 | if (dAtomType == NULL) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |