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:
parent
433e787de8
commit
97241e87d7
6 changed files with 11 additions and 9 deletions
2
misc.c
2
misc.c
|
@ -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') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue