(svn r13200) [0.6] -Backport from trunk (r13023, r13066, r13074, r13137):

- Fix: Do not send rcon commands of the server to the first client but do directly execute those on the server (r13137)
- Fix: For multiheaded engines, halve power and running cost when used instead of when loading, to allow callback values to work properly (r13074)
- Fix: Loading of TTDP savegames with rivers in them [FS#2005] (r13066)
- Fix: Revert changes to multihead engine weight -- the original values were correct (r13023)
This commit is contained in:
rubidium
2008-05-20 20:14:34 +00:00
parent 966c2fe4b9
commit 76a2221dbb
7 changed files with 38 additions and 42 deletions
+5 -1
View File
@@ -537,7 +537,11 @@ DEF_CONSOLE_CMD(ConRcon)
if (argc < 3) return false;
SEND_COMMAND(PACKET_CLIENT_RCON)(argv[1], argv[2]);
if (_network_server) {
IConsoleCmdExec(argv[2]);
} else {
SEND_COMMAND(PACKET_CLIENT_RCON)(argv[1], argv[2]);
}
return true;
}