Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/mapfile.cc')
-rw-r--r--src/model/mapfile.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/model/mapfile.cc b/src/model/mapfile.cc
index b74cdbe..f8e541c 100644
--- a/src/model/mapfile.cc
+++ b/src/model/mapfile.cc
@@ -816,22 +816,15 @@ bool MapFile::got_key_axis(math::Axis &axis)
return true;
} else if (got_key_float("pitch", pitch)) {
- // TODO this warning should eventually disappear
- unknown_error("'" + classname() + ":" + key() + "' has switched sign");
- axis.change_pitch(-pitch);
-
+ axis.change_pitch(-pitch);
return true;
} else if (got_key_float("yaw", yaw)) {
axis.change_direction(yaw);
-
return true;
} else if (got_key_float("roll", roll)) {
- // TODO this warning should eventually disappear
- unknown_error("'" + classname() + ":" + key() + "' has switched sign");
axis.change_roll(-roll);
-
return true;
}