Fix a couple of post-3.4.3 bugs. MacOSX was unconditionally copying "player" into plname[] after processing options, clobbering any name:Somebody value there. (It took place before command line processing, so -u Somebody worked ok.) This removes that, since we're intending to accomplish the same thing in a different manner. The revised handling for names "player" and "games" didn't work right when dash and role were appended to the name in order to try to keep dashes in usernames intact. It resulted in first prompting for role selection, then asking "who are you?" afterwards. Unfixed bug: unixmain's appending dash and role to username in order to preserve usernames with dashes in them doesn't work anymore. I think the role/race/gender/alignment stuff introduced way back in 3.3.0 broke it and apparently no one has noticed.... Miscellaneous: clean up some complaints from gcc about comparing signed and unsigned ints.
16 KiB
16 KiB