Oh yeah, forgot I need to at least provide a piece of code. Sorry >__>
Ahem.
This piece of code is where the problem occurs:
char CoreManager::Update() {
while (renderWindow.isOpen()) {
CalculateDeltaTime();
while (renderWindow.pollEvent(inputEvent)) {
inputManager->Update();
};
if (inputManager->GetKeyPressed(sf::Keyboard::Escape)) GameEnd();
if (gameIsEnded || ManagerClass::Update()==3) {
renderWindow.close();
return true;
};
Render();
};
return true;
};
The problem is that whenever I check if the program even gets to the "inputManager->Update()" line, it shows that it doesn't. Obviously because the condition returns "false" in the loop.
The OS I use is Windws 8.1, I use VS 2010 Pro and SFML 2.1.