Well, string is left untouched, but ch is somehow killed by being set to the
unicode value for the first letter of string.

(gdb) print ch
$16 = (CHAR_DATA *) 0x41
(gdb) print string
$18 = 0x26eed71 "Alala"
(gdb)

0x41 is unicode for 'A'
I did likewise using 'Hey' for string and it make ch the unicode for 'H'.

Ammaross Danan



Reply via email to