diff options
Diffstat (limited to 'game.c')
| -rw-r--r-- | game.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -223,7 +223,7 @@ bool LoadMap(const char *filename) { | |||
| 223 | return true; | 223 | return true; |
| 224 | } | 224 | } |
| 225 | 225 | ||
| 226 | void InitGame(void) { | 226 | void InitGame(const char* map_path) { |
| 227 | array_init(texture_cache); | 227 | array_init(texture_cache); |
| 228 | game.world_models = NULL; | 228 | game.world_models = NULL; |
| 229 | game.world_model_count = 0; | 229 | game.world_model_count = 0; |
| @@ -238,7 +238,7 @@ void InitGame(void) { | |||
| 238 | game.font_ui = GetFontDefault(); | 238 | game.font_ui = GetFontDefault(); |
| 239 | } | 239 | } |
| 240 | 240 | ||
| 241 | LoadMap("maps/demo1.map"); | 241 | LoadMap(map_path); |
| 242 | 242 | ||
| 243 | game.cursor_captured = false; | 243 | game.cursor_captured = false; |
| 244 | EnableCursor(); | 244 | EnableCursor(); |
