1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 17:19:09 +00:00

(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too

This commit is contained in:
rubidium
2009-03-15 00:32:18 +00:00
parent d72273d1f3
commit b25a4f8231
130 changed files with 1724 additions and 1727 deletions

View File

@@ -289,7 +289,7 @@ void init_BinaryHeap(Queue *q, uint max_size)
#endif
}
// Because we don't want anyone else to bother with our defines
/* Because we don't want anyone else to bother with our defines */
#undef BIN_HEAP_ARR
/*
@@ -502,14 +502,14 @@ void *Hash_Delete(Hash *h, uint key1, uint key2)
free(next);
#endif
} else {
/* This was the last in this bucket */
/* Mark it as empty */
/* This was the last in this bucket
* Mark it as empty */
uint hash = h->hash(key1, key2);
h->buckets_in_use[hash] = false;
}
} else {
/* It is in another node */
/* Save the value */
/* It is in another node
* Save the value */
result = node->value;
/* Link previous and next nodes */
prev->next = node->next;