summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-14 09:04:37 +0000
committerrubidium <rubidium@openttd.org>2010-08-14 09:04:37 +0000
commit33dccfd5cf1593bfbe29ef3e8da026a801f5c31f (patch)
treef0f59b129a98dd87bfdb150a63a48c0d70201675 /src
parentefef49e30d0c998dc1e6bd9b58e6209cb3019a77 (diff)
downloadopenttd-33dccfd5cf1593bfbe29ef3e8da026a801f5c31f.tar.xz
(svn r20487) -Fix: typo in comments
Diffstat (limited to 'src')
-rw-r--r--src/newgrf_commons.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/newgrf_commons.cpp b/src/newgrf_commons.cpp
index b3982c557..a3e70b783 100644
--- a/src/newgrf_commons.cpp
+++ b/src/newgrf_commons.cpp
@@ -242,7 +242,7 @@ uint16 IndustryOverrideManager::AddEntityID(byte grf_local_id, uint32 grfid, byt
*/
void IndustryOverrideManager::SetEntitySpec(IndustrySpec *inds)
{
- /* First step : We need to find if this industry is already specified in the savegame data */
+ /* First step : We need to find if this industry is already specified in the savegame data. */
IndustryType ind_id = this->GetID(inds->grf_prop.local_id, inds->grf_prop.grffile->grfid);
if (ind_id == invalid_ID) {
@@ -259,9 +259,9 @@ void IndustryOverrideManager::SetEntitySpec(IndustrySpec *inds)
return;
}
- /* Now that we know we can use the given id, copy the spech to its final destination*/
+ /* Now that we know we can use the given id, copy the spec to its final destination... */
memcpy(&_industry_specs[ind_id], inds, sizeof(*inds));
- /* and mark it as usable*/
+ /* ... and mark it as usable*/
_industry_specs[ind_id].enabled = true;
}