Need to rework some of the Linker logic - there are potential areas of breakage. For now, should be ok.

master
kts 2014-11-20 17:45:07 -08:00
parent bab232d683
commit ae513bd48f
1 changed files with 0 additions and 2 deletions

View File

@ -114,8 +114,6 @@ int main(int argc, char **argv) {
// x = link live structures // x = link live structures
} else if (event.key.keysym.sym == 120) { // link structure(s) } else if (event.key.keysym.sym == 120) { // link structure(s)
ktk_linkStructures(&my_program, &my_live, &new_live, &my_map); ktk_linkStructures(&my_program, &my_live, &new_live, &my_map);
ktk_deleteLive(&my_live);
my_live = new_live;
SDL_FillRect(screen, NULL, SDL_MapRGB(screen->format, 0, 0, 0)); SDL_FillRect(screen, NULL, SDL_MapRGB(screen->format, 0, 0, 0));
drawMap(&my_map); drawMap(&my_map);
} }