im coding 2d game engine with sdl in code::blocks. i have coded particle systems yesterday and i noticed today that when i run program from ide, it runs differently than when i run him directly from explorer.
i will create two particle systems:
CParticleSystem psys1;
CParticleSystem psys2;
...init them...
and draw them:
psys1.draw(0, 0); // x and y pos of origin
psys2.draw(800, 0)
so it should draw two particle systems, one at pos 0,0 and another one at pos 800,0
however when i run this from c::b, it draws ony first created system(psys1). when i run program from explorer all is OK, it will draw both particle systems.. HOW IS THIS POSSIBLE? i have setted working directory, using release target...
winXP SP2, nightly 4092