summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAlexander Baldeck <alexander@archlinux.org>2004-11-26 16:39:21 +0000
committerAlexander Baldeck <alexander@archlinux.org>2004-11-26 16:39:21 +0000
commit93b7fabac8e250b89227d1d183081326da942ade (patch)
tree058f2bd0a762c4e9750339ba6d20731798af8279 /src/main.cpp
parent428c4cc8bba2e8a385a6f51d3788b7ab3c9ce4c7 (diff)
downloadmana-93b7fabac8e250b89227d1d183081326da942ade.tar.gz
mana-93b7fabac8e250b89227d1d183081326da942ade.tar.bz2
mana-93b7fabac8e250b89227d1d183081326da942ade.tar.xz
mana-93b7fabac8e250b89227d1d183081326da942ade.zip
fix for tmw crash in login() due to too long username in tmw.ini (>25chars) (kth5)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b9c501d3..87e1eb9e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -81,8 +81,8 @@ PLAYER_INFO *char_info = new PLAYER_INFO;
BITMAP *playerset, *hairset;
DATAFILE *graphic, *emotions, *weaponset;
-char username[25];
-char password[25];
+char username[LEN_USERNAME];
+char password[LEN_PASSWORD];
int map_address, char_ID;
short map_port;
char map_name[16];