PC/IX Hack Bug fix #1
peterb at pbear.UUCP
peterb at pbear.UUCP
Sun Jun 2 04:22:00 AEST 1985
/* Written 1:12 pm May 30, 1985 by pbear!peterb in pbear:net.sources.games */
/* ---------- "PC/IX Hack Bug fix #1" ---------- */
Hack bug in hack.main.c:
Experience points printed using an integer field instead of a long
field. This has no effect until EP goes through 32767, then flips negative.
Fix:
ed hack.main.c
230
s/5u/5lu/
w
q
make install
This changes the field in the printf statement from %-5u to %-5lu
Peter Barada
{ihnp4!inmet|{harvard|cca}!ima}!pbear!peterb
/* End of text from pbear:net.sources.games */
More information about the Comp.sources.bugs
mailing list