diff options
author | Alexander Tkachev | 2016-08-15 20:19:35 +0600 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-30 23:26:29 +0200 |
commit | 0ffca9c03a8ed84ee319fce367b8227f8488ee7f (patch) | |
tree | 49ae5735e0548d2cad246f59dddbf916a399df8e /engines/scumm | |
parent | 9de6746814beefd32dd7fd6e4336a28cfccaaf3b (diff) | |
download | scummvm-rg350-0ffca9c03a8ed84ee319fce367b8227f8488ee7f.tar.gz scummvm-rg350-0ffca9c03a8ed84ee319fce367b8227f8488ee7f.tar.bz2 scummvm-rg350-0ffca9c03a8ed84ee319fce367b8227f8488ee7f.zip |
SCUMM HE: Fix some variable naming
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/he/logic/moonbase_logic.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/scumm/he/logic/moonbase_logic.cpp b/engines/scumm/he/logic/moonbase_logic.cpp index 04e694e1e7..9c2145d0f6 100644 --- a/engines/scumm/he/logic/moonbase_logic.cpp +++ b/engines/scumm/he/logic/moonbase_logic.cpp @@ -515,12 +515,12 @@ int LogicHEmoonbase::op_net_get_host_name(int op, int numArgs, int32 *args) { } int LogicHEmoonbase::op_net_get_ip_from_name(int op, int numArgs, int32 *args) { - char szName[MAX_HOSTNAME_SIZE]; - _vm1->getStringFromArray(args[0], szName, sizeof(szName)); + char name[MAX_HOSTNAME_SIZE]; + _vm1->getStringFromArray(args[0], name, sizeof(name)); char ip[MAX_IP_SIZE]; - if (_vm1->_moonbase->_net->getIPfromName(ip, MAX_IP_SIZE, szName)) { // PN_GetIPfromName + if (_vm1->_moonbase->_net->getIPfromName(ip, MAX_IP_SIZE, name)) { // PN_GetIPfromName return _vm1->setupStringArrayFromString(ip); } @@ -538,13 +538,13 @@ int LogicHEmoonbase::op_net_host_tcpip_game(int op, int numArgs, int32 *args) { } int LogicHEmoonbase::op_net_join_tcpip_game(int op, int numArgs, int32 *args) { - char szIP[MAX_IP_SIZE]; + char ip[MAX_IP_SIZE]; char userName[MAX_PLAYER_NAME]; - _vm1->getStringFromArray(args[0], szIP, sizeof(szIP)); + _vm1->getStringFromArray(args[0], ip, sizeof(ip)); _vm1->getStringFromArray(args[1], userName, sizeof(userName)); - return _vm1->_moonbase->_net->joinGame(szIP, userName); + return _vm1->_moonbase->_net->joinGame(ip, userName); } #endif |