summaryrefslogtreecommitdiff
path: root/src/rail.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rail.h')
-rw-r--r--src/rail.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rail.h b/src/rail.h
index 320d24a9a..1bc403d7f 100644
--- a/src/rail.h
+++ b/src/rail.h
@@ -113,7 +113,8 @@ typedef SmallVector<RailTypeLabel, 4> RailTypeLabelList;
/**
* This struct contains all the info that is needed to draw and construct tracks.
*/
-struct RailtypeInfo {
+class RailtypeInfo {
+public:
/**
* Struct containing the main sprites. @note not all sprites are listed, but only
* the ones used directly in the code