Quick-fix the 'pillo bug'.

Once parsing no longer depends on text being broken up into
5-char tokens, the ugly hack to adventure.yaml must go away.
This commit is contained in:
Jason S. Ninneman 2017-06-21 22:43:16 -07:00
parent 433e787de8
commit 97241e87d7
6 changed files with 11 additions and 9 deletions

2
misc.c
View file

@ -101,6 +101,8 @@ void vspeak(const char* msg, va_list ap)
size--;
} else {
long arg = va_arg(ap, long);
if (arg == -1)
arg = 0;
i++;
// Integer specifier. In order to accommodate the fact that PARMS can have both legitimate integers *and* packed tokens, stringify everything. Future work may eliminate the need for this.
if (msg[i] == 'd') {