mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
[boxdemo PoC] properly recover from error #1348
This commit is contained in:
parent
a12d7a8d15
commit
61b149b357
@ -146,8 +146,8 @@ get_ships(struct notcurses* nc, struct ship* ships, unsigned shipcount){
|
||||
while(s--){
|
||||
ncplane_destroy(ships[s].n);
|
||||
ncvisual_destroy(wmv);
|
||||
return -1;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
ncplane_move_below(ships[s].n, notcurses_stdplane(nc));
|
||||
if((ships[s].vely = rand() % 6 - 3) == 0){
|
||||
|
Loading…
x
Reference in New Issue
Block a user