Revert "Revert type change of lit which would break code."

This reverts commit cc1219b5a8.
This commit is contained in:
Bart House
2019-07-14 21:09:38 -07:00
parent a66fed3d5a
commit 3adaa79858
+2 -2
View File
@@ -3763,7 +3763,7 @@ struct opvar *mc;
{ {
int x, y; int x, y;
schar mapc; schar mapc;
xchar lit; uchar lit;
struct opvar *ret = selection_opvar((char *) 0); struct opvar *ret = selection_opvar((char *) 0);
if (!ov || !mc || !ret) if (!ov || !mc || !ret)
@@ -3783,7 +3783,7 @@ struct opvar *mc;
break; break;
case 0: case 0:
case 1: case 1:
if (levl[x][y].lit == (unsigned int) lit) if (levl[x][y].lit == lit)
selection_setpoint(x, y, ret, 1); selection_setpoint(x, y, ret, 1);
break; break;
} }