mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 03:09:13 +00:00
Fix several errors and warnings from GCC compilation
This commit is contained in:
@ -875,7 +875,7 @@ static void FileSrvIpAddressCallback (
|
||||
***/
|
||||
|
||||
//============================================================================
|
||||
const NetCommPlayer * const NetCommGetPlayer () {
|
||||
const NetCommPlayer * NetCommGetPlayer () {
|
||||
static NetCommPlayer s_nilPlayer;
|
||||
return s_player ? s_player : &s_nilPlayer;
|
||||
}
|
||||
@ -891,7 +891,7 @@ unsigned NetCommGetPlayerCount () {
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
const NetCommAccount * const NetCommGetAccount () {
|
||||
const NetCommAccount * NetCommGetAccount () {
|
||||
return &s_account;
|
||||
}
|
||||
|
||||
@ -901,12 +901,12 @@ bool NetCommIsLoginComplete() {
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
const NetCommAge * const NetCommGetAge () {
|
||||
const NetCommAge * NetCommGetAge () {
|
||||
return &s_age;
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
const NetCommAge * const NetCommGetStartupAge () {
|
||||
const NetCommAge * NetCommGetStartupAge () {
|
||||
return &s_startupAge;
|
||||
}
|
||||
|
||||
|
@ -94,10 +94,10 @@ struct NetCommAge {
|
||||
char spawnPtName[64];
|
||||
};
|
||||
|
||||
const NetCommAge * const NetCommGetAge ();
|
||||
const NetCommAge * const NetCommGetStartupAge ();
|
||||
const NetCommAccount * const NetCommGetAccount ();
|
||||
const NetCommPlayer * const NetCommGetPlayer ();
|
||||
const NetCommAge * NetCommGetAge ();
|
||||
const NetCommAge * NetCommGetStartupAge ();
|
||||
const NetCommAccount * NetCommGetAccount ();
|
||||
const NetCommPlayer * NetCommGetPlayer ();
|
||||
const ARRAY(NetCommPlayer) & NetCommGetPlayerList ();
|
||||
unsigned NetCommGetPlayerCount ();
|
||||
bool NetCommIsLoginComplete ();
|
||||
|
Reference in New Issue
Block a user