gdb says I’m getting a segfault in InputHandler::update, is it that the if else and for loops are not correctly separated, where do I need to add remove french braces? thanks.
InputHanfler.cpp and all other files of the game engine are included below.
I’m a complete noob and I find nested if else and for statements really hard to debug so any help is greatly appreciated. Thanks.