benmwebb/dopewars

Help with a line that keeps crashing

Opened this issue · 1 comments

Hi, can anyone change this line without crashing the game? I'm unsuccessfully trying to change the word 'Gun' on line:

https://github.com/benmwebb/dopewars/blob/develop/src/gui_client/optdialog.c#L945

Same with the word 'Cop' on line:

https://github.com/benmwebb/dopewars/blob/develop/src/gui_client/optdialog.c#L950

Appreciate any help!
IMG_7786

I'm pretty sure these are just used to look up the corresponding global variables, so if you changed "Gun" there you'd also have to change all of the corresponding globals, at https://github.com/benmwebb/dopewars/blob/develop/src/dopewars.c#L585-L603

Otherwise, the lookup will fail triggering this assertion:
https://github.com/benmwebb/dopewars/blob/develop/src/gui_client/optdialog.c#L680