- [+] bug with speech once i have listen skill:
- [+] You hear a voice: "fskbbs iswkvpizazwt . nearby" You hear a shout: "ccdxgfhfaoy hwov m! nearby"
This commit is contained in:
parent
ef9d4b2b8d
commit
885953fc9b
3
lf.c
3
lf.c
|
@ -14308,7 +14308,10 @@ int noise(cell_t *c, lifeform_t *noisemaker, enum NOISECLASS nt, int volume, cha
|
|||
//strncpy(textnopunc, text, strlen(text)-1);
|
||||
strcpy(textnopunc, text);
|
||||
punc = textnopunc[strlen(textnopunc)-1];
|
||||
if (punc != '\"') { // ie. not someone saying something
|
||||
textnopunc[strlen(textnopunc)-1] = '\0';
|
||||
punc = '\0';
|
||||
}
|
||||
|
||||
dist = getcelldist(l->cell, c);
|
||||
|
||||
|
|
Loading…
Reference in New Issue