1
Curses / [LCS] Crash bug due to location on date
« on: March 17, 2010, 02:57:28 pm »
Heya,
This is probably the wrong place to post this, but I have no idea how well monitored the sourceforge tracker is. Also this could possibly already have been fixed, but the fix doesn't seem to been in repository.
Enough babbling and to the point. I had issues with crimesquad receiving sigsegvs whenever I tried to "spend a cheap vacation" during a date. The error seems to be due to the currentlocation of the active squad (member 0) being set to -1 during a date, resulting in invalid indexing into locations.
Adding checks in a couple of places remedies the crash, but I'm not experienced enough with the game to decide if the rest of the behaviour is still correct.
This is probably the wrong place to post this, but I have no idea how well monitored the sourceforge tracker is. Also this could possibly already have been fixed, but the fix doesn't seem to been in repository.
Enough babbling and to the point. I had issues with crimesquad receiving sigsegvs whenever I tried to "spend a cheap vacation" during a date. The error seems to be due to the currentlocation of the active squad (member 0) being set to -1 during a date, resulting in invalid indexing into locations.
Adding checks in a couple of places remedies the crash, but I'm not experienced enough with the game to decide if the rest of the behaviour is still correct.