Mercurial > hg > early-roguelike
diff arogue7/options.c @ 266:08489644940b
Merge the UltraRogue branch.
author | John "Elwin" Edwards |
---|---|
date | Sun, 19 Feb 2017 19:56:43 -0500 |
parents | e940e6c00751 |
children | d3968e9cb98d |
line wrap: on
line diff
--- a/arogue7/options.c Sun Feb 19 19:54:17 2017 -0500 +++ b/arogue7/options.c Sun Feb 19 19:56:43 2017 -0500 @@ -350,6 +350,7 @@ * Look it up and deal with it */ for (op = optlist; op <= &optlist[NUM_OPTS-1]; op++) + { if (EQSTR(str, op->o_name, len)) { if (op->o_putfunc == put_bool) /* if option is a boolean */ @@ -412,6 +413,7 @@ *(bool *)op->o_opt = FALSE; break; } + } /* * skip to start of next option name