forbid % to read into multi messages to not mess up the string
This commit is contained in:
parent
f1d191f665
commit
9a7a7932ef
|
@ -4,6 +4,7 @@ D2X-Rebirth Changelog
|
||||||
--------
|
--------
|
||||||
main/newmenu.c: only draw copyright stuff if there is really the menu background (not being changed by draw_stars())
|
main/newmenu.c: only draw copyright stuff if there is really the menu background (not being changed by draw_stars())
|
||||||
d2x.ini, arch/sdl/rbaudio.c, main/config.c, main/inferno.c, main/menu.c, main/songs.c: removed -nocdrom argument, only use Redbook audio if specified with -redbook
|
d2x.ini, arch/sdl/rbaudio.c, main/config.c, main/inferno.c, main/menu.c, main/songs.c: removed -nocdrom argument, only use Redbook audio if specified with -redbook
|
||||||
|
main/multi.c: forbid % to read into multi messages to not mess up the string
|
||||||
|
|
||||||
20070414
|
20070414
|
||||||
--------
|
--------
|
||||||
|
|
|
@ -1421,7 +1421,7 @@ void multi_message_input_sub( int key )
|
||||||
default:
|
default:
|
||||||
if ( key > 0 ) {
|
if ( key > 0 ) {
|
||||||
int ascii = key_to_ascii(key);
|
int ascii = key_to_ascii(key);
|
||||||
if ((ascii < 255 )) {
|
if ((ascii < 255 ) && (ascii != 37)) {
|
||||||
if (multi_message_index < MAX_MESSAGE_LEN-2 ) {
|
if (multi_message_index < MAX_MESSAGE_LEN-2 ) {
|
||||||
Network_message[multi_message_index++] = ascii;
|
Network_message[multi_message_index++] = ascii;
|
||||||
Network_message[multi_message_index] = 0;
|
Network_message[multi_message_index] = 0;
|
||||||
|
|
Loading…
Reference in a new issue