Fix: Incorrect use of GetDescription in town/industry load handler (#14526)
GetLoadDescription should be used instead such that skipping incoming table fields works as expected
This commit is contained in:
committed by
GitHub
parent
6eb5c166dc
commit
c4912c94e4
@@ -178,7 +178,7 @@ public:
|
||||
|
||||
for (auto &h : p->history) {
|
||||
if (--len > p->history.size()) break; // unsigned so wraps after hitting zero.
|
||||
SlObject(&h, this->GetDescription());
|
||||
SlObject(&h, this->GetLoadDescription());
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user