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

Map::getCell x[-1] got out of bounds, fixing. #12

Closed
stefanhendriks opened this Issue Sep 6, 2013 · 1 comment

Comments

Projects
None yet
1 participant
@stefanhendriks
Owner

stefanhendriks commented Sep 6, 2013

In the feature branch (shroud) we see this a lot happening. Last task should fix this. (ie, camera should never go below 1 and exceed (MAP_WIDTH - 1)). etc.

stefanhendriks added a commit that referenced this issue Sep 7, 2013

make sure the camera will never look at the edge of the map (ie, the
0,0-max width/height border). This fixes several errors in getting cells
which are outside the boundaries (as we do not show them anymore). It
also will have a positive effect later on when smoothing out terrain and
such. For now the border is always 'rock' (tile 64 in tileset, for now
of course). Fixes #12
@stefanhendriks

This comment has been minimized.

Show comment
Hide comment
@stefanhendriks

stefanhendriks Sep 7, 2013

Owner

Fixed in feature branch about clearing shroud, which is about to be merged in master.

Owner

stefanhendriks commented Sep 7, 2013

Fixed in feature branch about clearing shroud, which is about to be merged in master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment