From 955ddabe45cfcb12420fe2ba2f5a12499e59fb75 Mon Sep 17 00:00:00 2001 From: Mathnerd314 Date: Tue, 26 Jan 2010 02:42:10 +0000 Subject: [PATCH] Shake camera on buttjump. SVN-Revision: 6274 --- src/object/player.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/object/player.cpp b/src/object/player.cpp index 8c830bfa7..28a607e5f 100644 --- 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) { -- 2.11.0