Search found 2 matches

by Repl4y
Tue Mar 08, 2016 2:44 pm
Forum: Beginners Help
Topic: Problems with Source code, game compiles but insta crashes
Replies: 3
Views: 749

Re: Problems with Source code, game compiles but insta crash

Hint 1: When you compile your project in debug in an IDE (like VisualStudio or Code::Blocks) and it crashes then you can look at the values of every variable while it crashes. Then you can see things like null-pointers quickly. Hint 2: Initialize _all_ pointers always to nullptr (or 0 or NULL, what...
by Repl4y
Tue Mar 08, 2016 12:38 pm
Forum: Beginners Help
Topic: Problems with Source code, game compiles but insta crashes
Replies: 3
Views: 749

Problems with Source code, game compiles but insta crashes

Hey, I'm doing a school project in which I try to recreate a 3D FPS shooter like the original Doom or Quake. The Problem I've been having problems where if an IF statement is allowed to run inside a Spawner class, it instantly crashes my game. I have no idea what's happening, as it's copied from Ben...