~ubuntu-branches/ubuntu/precise/gnome-games/precise-updates

« back to all changes in this revision

Viewing changes to iagno/src/game.vala

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2012-03-08 00:17:58 UTC
  • Revision ID: package-import@ubuntu.com-20120308001758-23yf0dkfzfx1n0kd
Tags: 1:3.3.91.1-0ubuntu2
* debian/patches/git_fix-iagno-ai.patch:
  - One line patch to fix broken computer player in Iagno

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
 
112
112
    public Game.copy (Game game)
113
113
    {
114
 
        tiles = new Player[width, height];
 
114
        tiles = new Player[game.width, game.height];
115
115
        for (var x = 0; x < width; x++)
116
116
            for (var y = 0; y < height; y++)
117
117
                tiles[x, y] = game.tiles[x, y];