diff options
author | frosch <frosch@openttd.org> | 2017-08-13 18:38:42 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2017-08-13 18:38:42 +0000 |
commit | b4b98e51655012ea42dbc8ab9e455fbec0d04b39 (patch) | |
tree | 948fc802d5dfdca71454f6ce479e4f429e98488d /src/newgrf_object.cpp | |
parent | 19bae485b028380fbdc94d02ebaecdf3ca23f932 (diff) | |
download | openttd-b4b98e51655012ea42dbc8ab9e455fbec0d04b39.tar.xz |
(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)
Diffstat (limited to 'src/newgrf_object.cpp')
-rw-r--r-- | src/newgrf_object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_object.cpp b/src/newgrf_object.cpp index 3f48a819f..058d5e0c0 100644 --- a/src/newgrf_object.cpp +++ b/src/newgrf_object.cpp @@ -232,7 +232,7 @@ static uint32 GetCountAndDistanceOfClosestInstance(byte local_id, uint32 grfid, case 0xFFFFFFFF: // current grf grf_id = grfid; - /* FALL THROUGH */ + FALLTHROUGH; default: // use the grfid specified in register 100h idx = _object_mngr.GetID(local_id, grf_id); |