Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Part 2 - Mismatch with previous Part #20

Open
vorant94 opened this issue Jan 10, 2020 · 0 comments
Open

Part 2 - Mismatch with previous Part #20

vorant94 opened this issue Jan 10, 2020 · 0 comments

Comments

@vorant94
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant