projects
/
libbear.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2869e2e
)
wells where too strong, halfed effect
author
Patrik Gornicz
<Gornicz.P@gmail.com>
Fri, 22 Aug 2008 02:11:46 +0000
(22:11 -0400)
committer
Patrik Gornicz
<Gornicz.P@gmail.com>
Fri, 22 Aug 2008 02:11:46 +0000
(22:11 -0400)
src/Effects/GravityWell.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/Effects/GravityWell.cpp
b/src/Effects/GravityWell.cpp
index
68afa27
..
e3ab469
100644
(file)
--- a/
src/Effects/GravityWell.cpp
+++ b/
src/Effects/GravityWell.cpp
@@
-44,7
+44,7
@@
Vector2 GravityWell::forceDelta(const PhysicsEntity* e, float) const
Vector2 acc(0,0);
if( sqrDist > 0.5F )
- acc += delta / sqrDist * mass;
+ acc += delta / sqrDist * mass
/ 2
;
return acc;
}