summaryrefslogtreecommitdiff
path: root/src/tgp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tgp.cpp')
-rw-r--r--src/tgp.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tgp.cpp b/src/tgp.cpp
index 2740e0ee3..f4157ecf0 100644
--- a/src/tgp.cpp
+++ b/src/tgp.cpp
@@ -181,7 +181,8 @@ struct HeightMap
* @param y Y position
* @return height as fixed point number
*/
- inline height_t &height(uint x, uint y) {
+ inline height_t &height(uint x, uint y)
+ {
return h[x + y * dim_x];
}
};