Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 72c743b6 authored by DETROYAT Alexis's avatar DETROYAT Alexis
Browse files

Restored bug on the crepes level

parent 7854e709
No related branches found
No related tags found
2 merge requests!21Merging the multi-character sprite handling system into avoid_monster,!13Merge crepes level with main
......@@ -146,15 +146,15 @@ void verify_crepes() {
map* create_building_map(game_instance* game, char* building_name, char* building_map, int map_number) {
#ifdef BUG
map* m = load_map(building_name, building_map);
maps[map_number] = m;
map* m = load_map(building_name, building_map);
maps[map_number] = m;
#else
map* m = maps[map_number];
if (m == NULL) {
m = load_map(building_name, building_map);
maps[map_number] = m;
}
//#endif
#endif
// Place the player in front of the door
place_player(m, INSIDE_DOOR_Y-1, INSIDE_DOOR_X);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment