diff options
Diffstat (limited to 'mazeoflife.cpp')
| -rw-r--r-- | mazeoflife.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
| diff --git a/mazeoflife.cpp b/mazeoflife.cpp index 62551c7..7819ffd 100644 --- a/mazeoflife.cpp +++ b/mazeoflife.cpp | |||
| @@ -16,6 +16,8 @@ int main(int argc, char *argv[]) | |||
| 16 | /* Clean up on exit */ | 16 | /* Clean up on exit */ |
| 17 | atexit(SDL_Quit); | 17 | atexit(SDL_Quit); |
| 18 | 18 | ||
| 19 | SDL_WM_SetCaption("Maze Of Life", NULL); | ||
| 20 | |||
| 19 | /* | 21 | /* |
| 20 | * Initialize the display in a 640x480 8-bit palettized mode, | 22 | * Initialize the display in a 640x480 8-bit palettized mode, |
| 21 | * requesting a software surface | 23 | * requesting a software surface |
| @@ -26,7 +28,6 @@ int main(int argc, char *argv[]) | |||
| 26 | exit(1); | 28 | exit(1); |
| 27 | } | 29 | } |
| 28 | 30 | ||
| 29 | SDL_WM_SetCaption("Maze Of Life", NULL); | ||
| 30 | SDL_EnableKeyRepeat(100, 50); | 31 | SDL_EnableKeyRepeat(100, 50); |
| 31 | 32 | ||
| 32 | State* state = new GameState(); | 33 | State* state = new GameState(); |
