summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/newgrf.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 8f4fb0436..a1e8d0e54 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -3882,6 +3882,10 @@ static ChangeInfoResult ObjectChangeInfo(uint id, int numinfo, int prop, ByteRea
}
break;
+ case 0x18: // Amount placed on 256^2 map on map creation
+ spec->generate_amount = buf->ReadByte();
+ break;
+
default:
ret = CIR_UNKNOWN;
break;