Home > If Error Throw New Brick, Planet Roguelike > libtcod-net 1.5.0rc1 seems to have an issue with TCODRandom, beware.

libtcod-net 1.5.0rc1 seems to have an issue with TCODRandom, beware.

Update: See this for a solution.

I’ve spent half of today debugging this issue. It appears that there is an issue I’m hitting in magecrawl where a TCODRandom gets stuck in a state where it returns 0’s for every GetRandomInt call. I’m working with the maintainers of libtcod, but it appears the issue is one underlying libtcod itself.

The workaround is to use the constructor that takes an enum

Related posts:

  1. No comments yet.
  1. No trackbacks yet.