Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/base/ship.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/game/base/ship.cc b/src/game/base/ship.cc
index 1298d05..0e4b634 100644
--- a/src/game/base/ship.cc
+++ b/src/game/base/ship.cc
@@ -119,8 +119,8 @@ void Ship::func_impulse() {
switch (entity_state) {
case core::Entity::Impulse:
entity_state = core::Entity::Normal;
- target_thrust = 1.0f;
- entity_thrust = 0.0f;
+ //target_thrust = 1.0f;
+ //entity_thrust = 0.0f;
set_dirty();
break;
@@ -488,8 +488,8 @@ void Ship::frame(float seconds)
}
// clamp input values
- target_thrust = 0.0f;
- target_afterburner = 0.0f;
+ //target_thrust = 0.0f;
+ //target_afterburner = 0.0f;
math::clamp(target_pitch, -1.0f, 1.0f);
math::clamp(target_roll, -1.0f, 1.0f);
math::clamp(target_direction, -1.0f, 1.0f);
@@ -507,11 +507,11 @@ void Ship::frame(float seconds)
set_state(core::Entity::Normal);
set_dirty();
entity_timer = 0;
- target_thrust = 1.0f;
- entity_thrust = 1.0f;
+ //target_thrust = 1.0f;
+ //entity_thrust = 1.0f;
} else {
- target_afterburner = 0.0f;
- target_thrust = 0.0f;
+ //target_afterburner = 0.0f;
+ //target_thrust = 0.0f;
}
} else if (entity_state == core::Entity::Normal) {