diff options
-rw-r--r-- | src/object_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object_cmd.cpp b/src/object_cmd.cpp index 5ae1a1d69..4c3b38bdb 100644 --- a/src/object_cmd.cpp +++ b/src/object_cmd.cpp @@ -746,11 +746,11 @@ void GenerateObjects() /* Now try to place the requested amount of this object */ for (uint j = ScaleByMapSize(1000); j != 0 && amount != 0 && Object::CanAllocateItem(); j--) { switch (i) { - case OBJECT_LIGHTHOUSE: + case OBJECT_TRANSMITTER: if (TryBuildTransmitter()) amount--; break; - case OBJECT_TRANSMITTER: + case OBJECT_LIGHTHOUSE: if (TryBuildLightHouse()) amount--; break; |