From b36f39d71f06e84c402a3ed29d2a546de6a3a2c0 Mon Sep 17 00:00:00 2001
From: edani95 <elekdani95@gmail.com>
Date: Mon, 9 May 2016 22:41:12 +0200
Subject: [PATCH] Game begin map init bug fix

---
 core/app/GameController.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/core/app/GameController.java b/core/app/GameController.java
index 3ff5a24..8a44329 100644
--- a/core/app/GameController.java
+++ b/core/app/GameController.java
@@ -18,11 +18,10 @@ public class GameController {
 	private View view;
 	private ArrayList<IElement>[][] map;
 	
-	@SuppressWarnings("unchecked")
 	public GameController(View view, int width, int height)
 	{
 		this.view = view;
-		map = new ArrayList[width][height];
+		map = InitController.map;
 	}
 	
 	public void startGameProcess() throws GameRunningException
-- 
GitLab