The new renderer crashes when you charge
Due to the fact that the player is at a non int position, the renderer crashes due to this line
cell = map[i][j];
Due to the fact that the player is at a non int position, the renderer crashes due to this line
cell = map[i][j];