[boxdemo PoC] properly recover from error #1348

pull/2292/head
nick black 3 years ago
parent a12d7a8d15
commit 61b149b357
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -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…
Cancel
Save