OSDN Git Service

Renewed year of copyright notice in each file.
[shogi-server/shogi-server.git] / shogi_server / piece.rb
index 93d085f..64b918a 100644 (file)
@@ -1,7 +1,7 @@
 ## $Id$
 
 ## Copyright (C) 2004 NABEYA Kenichi (aka nanami@2ch)
 ## $Id$
 
 ## Copyright (C) 2004 NABEYA Kenichi (aka nanami@2ch)
-## Copyright (C) 2007-2008 Daigo Moriwaki (daigo at debian dot org)
+## Copyright (C) 2007-2012 Daigo Moriwaki (daigo at debian dot org)
 ##
 ## This program is free software; you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
 ##
 ## This program is free software; you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -393,6 +393,7 @@ class PieceOU < Piece
     @name = "OU"
     @promoted_name = nil
     super
     @name = "OU"
     @promoted_name = nil
     super
+    @board.add_ou(self)
   end
 end
 
   end
 end