diff options
author | alberth <alberth@openttd.org> | 2011-01-30 12:58:54 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2011-01-30 12:58:54 +0000 |
commit | 1e65afc62aee9757e8944d7f2c8cdc6456e48592 (patch) | |
tree | c3b8b57e41915b1613bab34fec3afa9653e525c2 | |
parent | f48838ef3f62c1a15257d52d18626e702444bd6d (diff) | |
download | openttd-1e65afc62aee9757e8944d7f2c8cdc6456e48592.tar.xz |
(svn r21927) -Change: Comment-style fixes.
-rw-r--r-- | src/industry_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp index b865dfd72..94a09111b 100644 --- a/src/industry_gui.cpp +++ b/src/industry_gui.cpp @@ -1778,7 +1778,7 @@ struct CargoesField { if (pt.x < cpos + CargoesField::HOR_CARGO_WIDTH) return this->u.cargo.vertical_cargoes[col]; cpos += CargoesField::HOR_CARGO_WIDTH + CargoesField::HOR_CARGO_SPACE; } - // col = 0 -> left of first col, 1 -> left of 2nd col, ... this->u.cargo.num_cargoes right of last-col + /* col = 0 -> left of first col, 1 -> left of 2nd col, ... this->u.cargo.num_cargoes right of last-col. */ int vpos = VERT_INTER_INDUSTRY_SPACE / 2 + VERT_CARGO_EDGE; uint row; @@ -1789,7 +1789,7 @@ struct CargoesField { } if (row == MAX_CARGOES) return INVALID_CARGO; - // row = 0 -> at first horizontal row, row = 1 -> second horizontal row, 2 = 3rd horizontal row. + /* row = 0 -> at first horizontal row, row = 1 -> second horizontal row, 2 = 3rd horizontal row. */ if (col == 0) { if (this->u.cargo.supp_cargoes[row] != INVALID_CARGO) return this->u.cargo.vertical_cargoes[this->u.cargo.supp_cargoes[row]]; if (left != NULL) { |