(svn r12068) -Fix(r12067): forgot a return

This commit is contained in:
belugas
2008-02-06 02:43:42 +00:00
parent 879cce2b8b
commit e3ca12a411

View File

@@ -1376,7 +1376,7 @@ static void *IntToReference(uint index, SLRefType rt)
index++;
if (index == INVALID_VEHICLE) return NULL;
if (_Vehicle_pool.AddBlockIfNeeded(index)) GetVehicle(index);
if (_Vehicle_pool.AddBlockIfNeeded(index)) return GetVehicle(index);
error("Vehicles: failed loading savegame: too many vehicles");
default: NOT_REACHED();