summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-18 20:28:33 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-18 20:28:33 +0000
commit113ffc867c8553e2eb920d571235cdf9def57910 (patch)
treea0799ae20639ead15990c8f1c0c6c79049568816 /src/map/map.c
parent300d96c92fdb6b7b7dbda2ac2f3f92d4f4913133 (diff)
downloadhercules-113ffc867c8553e2eb920d571235cdf9def57910.tar.gz
hercules-113ffc867c8553e2eb920d571235cdf9def57910.tar.bz2
hercules-113ffc867c8553e2eb920d571235cdf9def57910.tar.xz
hercules-113ffc867c8553e2eb920d571235cdf9def57910.zip
- Now @whogm hides perfect-hide gms only if their GM level is greater than the one who invoked the command.
- Some minor cleanups. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10290 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 169d038af..0975c1a37 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -276,16 +276,13 @@ int map_freeblock_lock (void)
* バッファにたまっていたblockを全部削除
*------------------------------------------
*/
-//int map_freeblock_unlock (void)
-int map_freeblock_unlock_sub(char *file, int lineno)
+int map_freeblock_unlock (void)
{
if ((--block_free_lock) == 0) {
int i;
for (i = 0; i < block_free_count; i++)
{
aFree(block_free[i]);
-// _mfree(block_free[i], file, lineno, __func__);
-// _mfree(block_free[i], file, ((block_free[i]?block_free[i]->type:0)*100000)+lineno, __func__);
block_free[i] = NULL;
}
block_free_count = 0;