Part 2 - Mismatch with previous Part
Closed this issue · 1 comments
vorant94 commented
In Part 1 we removed using default 0
console and instead of it declared con
.
But there are code snippets in Part 2 which says that we do still use the default one also:
- libtcod.console_put_char(con, player_x, player_y, ' ', libtcod.BKGND_NONE)
- libtcod.console_put_char(0, player_x, player_y, ' ', libtcod.BKGND_NONE)
+ libtcod.console_put_char(con, player.x, player.y, ' ', libtcod.BKGND_NONE)
+ libtcod.console_put_char(0, player.x, player.y, ' ', libtcod.BKGND_NONE)
So what is right version?
vorant94 commented
closing due to inactivity