Skip to content

Commit afeb558

Browse files
authored
fix isTrainCarriage usage again
1 parent caf2700 commit afeb558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Server/Components/Vehicles/vehicle.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ class Vehicle final : public IVehicle, public PoolIDProvider, public NoCopy
391391
return carriages;
392392
}
393393

394-
bool isTrainCarriage()
394+
bool isTrainCarriage() const override
395395
{
396396
const int model = getModel();
397397
return (model == 569 || model == 570);

0 commit comments

Comments
 (0)