*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1057 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -12,10 +12,10 @@ bool c2sinit = false; // whether we need to tell the other clients our sta
|
||||
|
||||
int getclientnum() { return player1 ? player1->clientnum : -1; }
|
||||
|
||||
bool multiplayer()
|
||||
bool multiplayer(bool msg)
|
||||
{
|
||||
// check not correct on listen server?
|
||||
if(curpeer) conoutf("operation not available in multiplayer");
|
||||
if(curpeer && msg) conoutf("operation not available in multiplayer");
|
||||
return curpeer!=NULL;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -108,7 +108,7 @@ extern void abortconnect();
|
||||
extern void disconnect(int onlyclean = 0, int async = 0);
|
||||
extern void toserver(char *text);
|
||||
extern void addmsg(int type, const char *fmt = NULL, ...);
|
||||
extern bool multiplayer();
|
||||
extern bool multiplayer(bool msg = true);
|
||||
extern bool allowedittoggle();
|
||||
extern void sendpackettoserv(int chan, struct _ENetPacket *packet);
|
||||
extern void gets2c();
|
||||
|
||||
Reference in New Issue
Block a user