Hi,
I'm learning how to program with GDK and im making a basic FPS.
As i fouled around i got into a problem I can't load the weapon.
Heres the code of which I got right now. the problem lies within loadWeapond() and is with dbLoadObject...
Error I get is: (Automatic Breakpoint) First-chance exception at 0x75deb9bc in FPS-Game.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x003ffa90..
Unhandled exception at 0x75deb9bc in FPS-Game.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x003ffa90..
Code
Now I have No idea what this means but I hope someone of you do.
Regards,
Thomas