Fix a little bug

This commit is contained in:
Aaron Mueller 2009-12-16 16:03:15 +01:00
parent 01147c0d35
commit e908fcdf35

View file

@ -24,11 +24,6 @@ int main(int argc, char **argv) {
srand(time(NULL));
terrain = generateTerrain(150.0, 180.0);
// Choose right state
stateTable[currentState].drawFun();
stateTable[currentState].handleEventsFun();
// the main game loop
while (currentState != STATE_EXIT) {
// Check for events