mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-10-31 15:20:10 +00:00
Remove incorrect nullness check
This commit is contained in:
parent
8d1563a1ed
commit
cff6f9ba00
@ -192,7 +192,7 @@ struct Plan : PlanPool::PoolItem<&_plan_pool> {
|
|||||||
PlanLine *NewLine()
|
PlanLine *NewLine()
|
||||||
{
|
{
|
||||||
PlanLine *pl = new PlanLine();
|
PlanLine *pl = new PlanLine();
|
||||||
if (pl) this->lines.push_back(pl);
|
this->lines.push_back(pl);
|
||||||
return pl;
|
return pl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user