Fix a little bug
This commit is contained in:
parent
01147c0d35
commit
e908fcdf35
1 changed files with 0 additions and 5 deletions
|
@ -24,11 +24,6 @@ int main(int argc, char **argv) {
|
||||||
srand(time(NULL));
|
srand(time(NULL));
|
||||||
terrain = generateTerrain(150.0, 180.0);
|
terrain = generateTerrain(150.0, 180.0);
|
||||||
|
|
||||||
|
|
||||||
// Choose right state
|
|
||||||
stateTable[currentState].drawFun();
|
|
||||||
stateTable[currentState].handleEventsFun();
|
|
||||||
|
|
||||||
// the main game loop
|
// the main game loop
|
||||||
while (currentState != STATE_EXIT) {
|
while (currentState != STATE_EXIT) {
|
||||||
// Check for events
|
// Check for events
|
||||||
|
|
Loading…
Reference in a new issue