Quote:
Originally Posted by xQd
The problem is from OnGameFrame() function, where iFrameskip will always will be 1 because on each frame iFrameskip has the 0 value assigned to it. iFrameskip should be a global.
|
don't make a global, just change
int iFrameskip = 0;
to
static int iFrameskip = 0;
good catch though, not sure why i didn't make it static to begin with...