Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: buildAirfield.cpp
- ===================================================================
- --- buildAirfield.cpp (revision 6383)
- +++ buildAirfield.cpp (working copy)
- @@ -32,7 +32,10 @@
- throw "Invalid argument count";
- std::string name = args[0];
- - std::string luaFileName = args[1];
- + int lastNamePart = 1;
- + for ( ; (lastNamePart < args.size()) && (args[lastNamePart][1] != ':'); lastNamePart++)
- + name += args[lastNamePart];
- + std::string luaFileName = args[lastNamePart];
- std::string taxiwaysFileName;
- args.getOptionalString("-in-taxiways", taxiwaysFileName);
- std::string taxiwaysFileNameOut;
Advertisement
Add Comment
Please, Sign In to add comment