remove obsolete FIXME

This commit is contained in:
nick black 2020-02-25 02:36:51 -05:00
parent b7a028569c
commit 87cac84db2
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
2 changed files with 1 additions and 2 deletions

View File

@ -890,7 +890,7 @@ API int ncplane_polyfill_yx(struct ncplane* n, int y, int x, const cell* c);
//
// Preconditions for gradient operations (error otherwise):
//
// all: only RGB colors (no defaults, no palette-indexed)
// all: only RGB colors, unless all four channels match
// all: all alpha values must be the same
// 1x1: all four colors must be the same
// 1xN: both top and both bottom colors must be the same (vertical gradient)

View File

@ -106,7 +106,6 @@ wormy(worm* s, int dimy, int dimx){
do{ // force a move
s->y = oldy;
s->x = oldx;
// FIXME he ought be weighted to avoid light; he's a worm after all
int direction = random() % 4;
switch(direction){
case 0: --s->y; break;