From: limb Date: Sat, 18 Jul 2009 05:21:41 +0000 (+0000) Subject: Pods dropped from too high and not caught will splat. X-Git-Tag: 1.01~6 X-Git-Url: http://git.pulsar-zone.net/?a=commitdiff_plain;h=12f4e30ab16ee14fe88904d2baf06e688ef87050;p=curblaster.git Pods dropped from too high and not caught will splat. git-svn-id: svn+ssh://svn/var/repos/curfender@851 bc5cbbab-a4ec-0310-bb52-ff3d296db539 --- diff --git a/motion.cpp b/motion.cpp index 898e4fa..9691554 100644 --- a/motion.cpp +++ b/motion.cpp @@ -197,10 +197,14 @@ game_object process_motion(game_object object, game_object player){ if(object.number>=80&&object.number<=89){ object_out(object); } else { - object.x=18; - object.direction=5; - object.vspeed=0; - object.vtime=0; + if(object.vspeed>2){ + object_out(object); + } else { + object.x=18; + object.direction=5; + object.vspeed=0; + object.vtime=0; + }; }; };