projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb83166
)
Shake camera on buttjump.
author
Mathnerd314
<man.is.allan@gmail.com>
Tue, 26 Jan 2010 02:42:10 +0000
(
02:42
+0000)
committer
Mathnerd314
<man.is.allan@gmail.com>
Tue, 26 Jan 2010 02:42:10 +0000
(
02:42
+0000)
SVN-Revision: 6274
src/object/player.cpp
patch
|
blob
|
history
diff --git
a/src/object/player.cpp
b/src/object/player.cpp
index
8c830bf
..
28a607e
100644
(file)
--- a/
src/object/player.cpp
+++ b/
src/object/player.cpp
@@
-1145,6
+1145,7
@@
Player::collision_solid(const CollisionHit& hit)
90-40, 90-20,
Vector(280, -260), Vector(0, 300), 3, Color(.4f, .4f, .4f), 3, .8f,
LAYER_OBJECTS+1));
+ Sector::current()->camera->shake(.1f, 0, 5);
}
} else if(hit.top) {