summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-11-30 13:38:46 +0000
committerrubidium <rubidium@openttd.org>2010-11-30 13:38:46 +0000
commitb6c2216749765e4d29fc3fa05dc1023c2c643cce (patch)
treeabc3302f27c09c0e0494f4691e5989aa514116e2 /src/settings.cpp
parent9c83a8975fe93568d4a3c44bd273e846b18d8e3f (diff)
downloadopenttd-b6c2216749765e4d29fc3fa05dc1023c2c643cce.tar.xz
(svn r21358) -Codechange: make some network function names conform to coding style
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 229ed5ebe..fa64abc73 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -1770,7 +1770,7 @@ void SyncCompanySettings()
const void *new_var = GetVariableAddress(&_settings_client.company, &sd->save);
uint32 old_value = (uint32)ReadValue(old_var, sd->save.conv);
uint32 new_value = (uint32)ReadValue(new_var, sd->save.conv);
- if (old_value != new_value) NetworkSend_Command(0, i, new_value, CMD_CHANGE_COMPANY_SETTING, NULL, NULL, _local_company);
+ if (old_value != new_value) NetworkSendCommand(0, i, new_value, CMD_CHANGE_COMPANY_SETTING, NULL, NULL, _local_company);
}
}
#endif /* ENABLE_NETWORK */