OSDN Git Service

ceil => floor
authortkaneko <tkaneko@b8c68f68-1e22-0410-b08e-880e1f8202b4>
Wed, 19 Apr 2006 03:17:55 +0000 (03:17 +0000)
committertkaneko <tkaneko@b8c68f68-1e22-0410-b08e-880e1f8202b4>
Wed, 19 Apr 2006 03:17:55 +0000 (03:17 +0000)
shogi-server

index b233dcc..915ab14 100755 (executable)
@@ -1267,7 +1267,7 @@ class Game
     finish_flag = true
     if (@current_player == player)
       @end_time = Time::new
     finish_flag = true
     if (@current_player == player)
       @end_time = Time::new
-      t = (@end_time - @start_time).ceil
+      t = (@end_time - @start_time).floor
       t = Least_Time_Per_Move if (t < Least_Time_Per_Move)
       
       move_status = nil
       t = Least_Time_Per_Move if (t < Least_Time_Per_Move)
       
       move_status = nil