(svn r14723) -Codechange: shuffling some stuff around to reduce indirect #include dependencies.

This commit is contained in:
rubidium
2008-12-23 11:06:52 +00:00
parent d501a20065
commit 9476a49763
10 changed files with 48 additions and 18 deletions

View File

@@ -107,7 +107,7 @@ extern void StateGameLoop();
*/
NetworkClientInfo *NetworkFindClientInfoFromIndex(ClientIndex index)
{
return &_network_client_info[index];
return IsValidNetworkClientInfoIndex(index) ? GetNetworkClientInfo(index) : NULL;
}
/**