From: Ricardo Cruz Date: Sat, 30 Oct 2004 11:23:34 +0000 (+0000) Subject: Switched left and right dust as asked by Marek. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=dddb1b98d43cdb582516ea3479d68116b193e1b2;p=supertux.git Switched left and right dust as asked by Marek. SVN-Revision: 2076 --- diff --git a/src/player.cpp b/src/player.cpp index c4d5f531c..e318ee91c 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -497,8 +497,8 @@ Player::handle_horizontal_input() SoundManager::get()->play_sound(IDToSound(SND_SKID)); // dust some partcles Sector::current()->add_particles( - Vector(base.x + (dir == LEFT ? base.width : 0), base.y+base.height), - dir == LEFT ? 270+20 : 90-40, dir == LEFT ? 270+40 : 90-20, + Vector(base.x + (dir == RIGHT ? base.width : 0), base.y+base.height), + dir == RIGHT ? 270+20 : 90-40, dir == RIGHT ? 270+40 : 90-20, Vector(2.8,-2.6), Vector(0,0.030), 3, Color(100,100,100), 3, 800); ax *= 2.5;