From 2bb6877f184aa712834a4ff84755688e5d5a6547 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sun, 11 Nov 2018 22:32:39 +0000 Subject: [PATCH] Fix syntax of static_assert --- src/newgrf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newgrf.cpp b/src/newgrf.cpp index ed91b2e464..d3219bb1b3 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -4552,7 +4552,7 @@ static void FeatureChangeInfo(ByteReader *buf) /* GSF_RAILTYPES */ RailTypeChangeInfo, /* GSF_AIRPORTTILES */ AirportTilesChangeInfo, }; - static_assert(lengthof(handler) == lengthof(_cur.grffile->action0_property_remaps)); + static_assert(lengthof(handler) == lengthof(_cur.grffile->action0_property_remaps), "Action 0 featur elist length mismatch"); uint8 feature = buf->ReadByte(); uint8 numprops = buf->ReadByte();