Need to rework some of the Linker logic - there are potential areas of breakage. For now, should be ok.
parent
bab232d683
commit
ae513bd48f
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue