summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-04 13:48:13 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-04 13:48:13 +0000
commitc93d710544b7e6a3314932397a47f92d28478966 (patch)
tree6d04bcdc7b086f0fc34e11b35d6d6eaf05f46218 /src
parentf324d4de2e60ea3a61eb707351e9221f06a77c76 (diff)
downloadhercules-c93d710544b7e6a3314932397a47f92d28478966.tar.gz
hercules-c93d710544b7e6a3314932397a47f92d28478966.tar.bz2
hercules-c93d710544b7e6a3314932397a47f92d28478966.tar.xz
hercules-c93d710544b7e6a3314932397a47f92d28478966.zip
- Fixed code using i instead of id in a few instances when updating char/map server IP.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7510 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/char/char.c2
-rw-r--r--src/char_sql/char.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/char/char.c b/src/char/char.c
index 8d51e6867..c2e80ae8a 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -3073,7 +3073,7 @@ int parse_frommap(int fd) {
}
case 0x2736:
if (RFIFOREST(fd) < 6) return 0;
- ShowInfo("Updated IP address of Server #%d to %d.%d.%d.%d.\n",i,
+ ShowInfo("Updated IP address of Server #%d to %d.%d.%d.%d.\n",id,
(int)RFIFOB(fd,2),(int)RFIFOB(fd,3),
(int)RFIFOB(fd,4),(int)RFIFOB(fd,5));
server[id].ip = RFIFOL(fd, 2);
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index 39747dea0..a158bec01 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -2989,7 +2989,7 @@ int parse_frommap(int fd) {
case 0x2736:
if (RFIFOREST(fd) < 6) return 0;
- ShowInfo("Updated IP address of Server #%d to %d.%d.%d.%d.\n",i,
+ ShowInfo("Updated IP address of Server #%d to %d.%d.%d.%d.\n",id,
(int)RFIFOB(fd,2),(int)RFIFOB(fd,3),
(int)RFIFOB(fd,4),(int)RFIFOB(fd,5));
server[id].ip = RFIFOL(fd, 2);