diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-01-15 20:12:51 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-01-15 20:12:51 +0000 |
commit | 17aeb75dcd66b99d540b6fc37604a4c8037ffec5 (patch) | |
tree | 186c55e415a03d50674fa9b742bbd9778dd54f43 /src | |
parent | 7b5a33083c2b411e37f9412091937c18dbe92e29 (diff) | |
download | hercules-17aeb75dcd66b99d540b6fc37604a4c8037ffec5.tar.gz hercules-17aeb75dcd66b99d540b6fc37604a4c8037ffec5.tar.bz2 hercules-17aeb75dcd66b99d540b6fc37604a4c8037ffec5.tar.xz hercules-17aeb75dcd66b99d540b6fc37604a4c8037ffec5.zip |
* Various accumulated insignificant fixes to documentation, examples and comments.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14674 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/common/db.c | 2 | ||||
-rw-r--r-- | src/map/clif.c | 1 | ||||
-rw-r--r-- | src/map/script.c | 7 |
3 files changed, 3 insertions, 7 deletions
diff --git a/src/common/db.c b/src/common/db.c index 550bfd382..595ed241d 100644 --- a/src/common/db.c +++ b/src/common/db.c @@ -697,7 +697,7 @@ static void db_free_add(DBMap_impl* db, DBNode node, DBNode *root) db->alloc_file, db->alloc_line); exit(EXIT_FAILURE); } - if (!(db->options&DB_OPT_DUP_KEY)) { // Make shure we have a key until the node is freed + if (!(db->options&DB_OPT_DUP_KEY)) { // Make sure we have a key until the node is freed old_key = node->key; node->key = db_dup_key(db, node->key); db->release(old_key, node->data, DB_RELEASE_KEY); diff --git a/src/map/clif.c b/src/map/clif.c index b1f1261ed..332f396f9 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -12017,7 +12017,6 @@ void clif_parse_FriendsListReply(int fd, struct map_session_data *sd) account_id = RFIFOL(fd,2); char_id = RFIFOL(fd,6); reply = RFIFOB(fd,10); - //printf ("reply: %d %d %d\n", char_id, id, reply); f_sd = map_id2sd(account_id); //The account id is the same as the bl.id of players. if (f_sd == NULL) diff --git a/src/map/script.c b/src/map/script.c index 62462ce66..ed1e13aee 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -2133,9 +2133,9 @@ struct script_code* parse_script(const char *src,const char *file,int line,int o #ifdef DEBUG_DISP for(i=0;i<script_pos;i++){ - if((i&15)==0) printf("%04x : ",i); + if((i&15)==0) ShowMessage("%04x : ",i); ShowMessage("%02x ",script_buf[i]); - if((i&15)==15) printf("\n"); + if((i&15)==15) ShowMessage("\n"); } ShowMessage("\n"); #endif @@ -11663,9 +11663,6 @@ BUILDIN_FUNC(jump_zero) pos=script_getnum(st,3); st->pos=pos; st->state=GOTO; - // printf("script: jump_zero: jumpto : %d\n",pos); - } else { - // printf("script: jump_zero: fail\n"); } return 0; } |