![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
game for 2035
Dependencies: mbed wave_player 4DGL-uLCD-SE MMA8452
Diff: map.cpp
- Revision:
- 4:af9d6e3b8a29
- Parent:
- 3:664c79e2ceb5
- Child:
- 5:a16af8f3fea9
--- a/map.cpp Fri Nov 30 03:46:39 2018 +0000 +++ b/map.cpp Fri Nov 30 05:31:06 2018 +0000 @@ -136,7 +136,7 @@ void map_erase(int x, int y) { - deleteItem(get_active_map()->items,XY_KEY(x,y)); + free((MapItem*)removeItem(map[active_map].items,XY_KEY(x,y))); } void add_wall(int x, int y, int dir, int len)