<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -69,11 +69,11 @@ class GameScreen
     @game_controller.thrust_forward_down? ? @player.fire_thrust : @player.slow_down
     @player.hyperspace if @game_controller.hyperspace_down?
     
-    if @game_controller.fire_weapon_down? and @next_bullet_delay == 0 and !@player.in_hyperspace then
+    if @game_controller.fire_weapon_down? and @next_bullet_delay &lt;= 0 and !@player.in_hyperspace then
       @bullet_manager.fire_bullet(@player.location_x, @player.location_y, @player.velocity_x, @player.velocity_y, @player.angle)
       @next_bullet_delay = BulletFireDelay
     end
-    @next_bullet_delay -= 1 if @next_bullet_delay &gt; 0
+    @next_bullet_delay -= 1
   end
 
   def test_bullet_asteroid_collision(bullet)</diff>
      <filename>screens/game_screen.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>0748b5450eb59684238caffd45ac9fe1f75ca0a7</id>
    </parent>
  </parents>
  <author>
    <name>Rob Caporetto</name>
    <email>rcaporetto@gmail.com</email>
  </author>
  <url>http://github.com/robc/gosu-asteroids/commit/7115f90881a52269e3abf3d1489fd00a0995d7be</url>
  <id>7115f90881a52269e3abf3d1489fd00a0995d7be</id>
  <committed-date>2008-11-27T00:35:41-08:00</committed-date>
  <authored-date>2008-11-27T00:35:41-08:00</authored-date>
  <message>minor simplification of some tests for the game screen so that we can reduce the cyclomatic complexity of the game_screen's updates</message>
  <tree>ef19fd905f6eb58fc4937ec37f2eeafc6ba9d7f6</tree>
  <committer>
    <name>Rob Caporetto</name>
    <email>rcaporetto@gmail.com</email>
  </committer>
</commit>
