Skip to content

Commit

Permalink
unit_csv.cpp: Fix parsing of "Yaw_Governor_Right" and "Yaw_Governor_L…
Browse files Browse the repository at this point in the history
…eft"
  • Loading branch information
stephengtuggy committed Jan 7, 2025
1 parent 4648beb commit baff3b1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions engine/src/cmd/unit_csv.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2001-2022 Daniel Horn, pyramid3d, Stephen G. Tuggy,
* unit_csv.cpp
*
* Copyright (C) 2001-2025 Daniel Horn, pyramid3d, Stephen G. Tuggy,
* and other Vega Strike contributors.
*
* https://github.com/vegastrike/Vega-Strike-Engine-Source
Expand All @@ -13,7 +15,7 @@
*
* Vega Strike is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
Expand Down Expand Up @@ -842,8 +844,8 @@ void Unit::LoadRow(std::string unit_identifier, string modification, bool saved_

YawPitchRollParser(unit_key,
"Yaw_Governor",
"Yaw_Governor",
"Yaw_Governor",
"Yaw_Governor_Right",
"Yaw_Governor_Left",
computer.max_yaw_right,
computer.max_yaw_left);
YawPitchRollParser(unit_key,
Expand Down

0 comments on commit baff3b1

Please sign in to comment.