diff options
| author | Teddy Wing | 2015-10-04 12:47:32 -0400 | 
|---|---|---|
| committer | Teddy Wing | 2015-10-04 12:47:32 -0400 | 
| commit | 7d905557a4e9e0969005886416a71fea8a1f952e (patch) | |
| tree | 8e14d93bbabc8db3e1a9891c21b6a7b040134a7a | |
| parent | 864b87d37a5c19e0445a3fb124ea154b201d5ae3 (diff) | |
| download | vim-space-vlaze-7d905557a4e9e0969005886416a71fea8a1f952e.tar.bz2 | |
game#SetupBoard: Use constants to initialise player to middle of board
| -rw-r--r-- | autoload/space_vlaze/game.vim | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/autoload/space_vlaze/game.vim b/autoload/space_vlaze/game.vim index ab721a1..2b7b289 100644 --- a/autoload/space_vlaze/game.vim +++ b/autoload/space_vlaze/game.vim @@ -39,7 +39,7 @@ function! space_vlaze#game#SetupBoard()  	endwhile  	" Initialise player to the middle of the board -	let s:board[10][39] = space_vlaze#player#PlayerCharacter() +	let s:board[s:BOARD_HEIGHT / 2][s:BOARD_WIDTH / 2 - 1] = space_vlaze#player#PlayerCharacter()  endfunction | 
