summaryrefslogtreecommitdiff
path: root/src/simulation/elements
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-07-15 17:09:19 (GMT)
committer jacob1 <jfu614@gmail.com>2013-07-15 17:09:19 (GMT)
commit8d5fe459fe4e0b9d398d9eb6d273b71da1a77eec (patch)
treebf8a21584643a7f0fbfed9a6fb28ca62a0e3b4c0 /src/simulation/elements
parent0214fcb5aedd6f4ebd485388c1fe1cfd63eb82a0 (diff)
downloadpowder-8d5fe459fe4e0b9d398d9eb6d273b71da1a77eec.zip
powder-8d5fe459fe4e0b9d398d9eb6d273b71da1a77eec.tar.gz
'n' to toggle Newtonian Gravity, quickoption tooltips show which keys you need to press to toggle them
Diffstat (limited to 'src/simulation/elements')
-rw-r--r--src/simulation/elements/STKM.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/simulation/elements/STKM.cpp b/src/simulation/elements/STKM.cpp
index d576637..709a118 100644
--- a/src/simulation/elements/STKM.cpp
+++ b/src/simulation/elements/STKM.cpp
@@ -144,7 +144,6 @@ int Element_STKM::run_stickman(playerst* playerp, UPDATE_FUNC_ARGS) {
rby = 1.0f;
tmp = 1.0f;
}
- float rbx1 = rbx/tmp, rby1 = rby/tmp;// scale so that the largest is 1.0
tmp = 1.0f/sqrtf(rbx*rbx+rby*rby);
rbx *= tmp;// scale to a unit vector
rby *= tmp;