tell the server we handled the info change

This commit is contained in:
Bill Currie 2007-05-15 10:58:45 +00:00
parent cf7e85b32c
commit 25d721153d
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
all: progs.src *.qc *.qh
qfcc --warn=error --advanced $(CFLAGS)
qfcc --warn=error --code=no-single-cpp --advanced $(CFLAGS)
debug: progs.src *.qc *.qh
qfcc --warn=all --code=debug --advanced -DDEBUG $(CFLAGS)
qfcc --warn=all --code=debug,no-single-cpp --advanced -DDEBUG $(CFLAGS)
clean:
rm -f core *.dat *.pqc *.sym progdefs.h

View File

@ -556,7 +556,7 @@ void (entity pl, float topcolor, float bottomcolor) SetPlayerColor =
// stuffcmd (pl, "color " + top + " " + bottom + "\n");
};
void (string key, string value) UserInfoCallback =
float (string key, string value) UserInfoCallback =
{ // FIXME: remove the cheat poller
local string oldval;
oldval = infokey (self, key);
@ -589,6 +589,7 @@ void (string key, string value) UserInfoCallback =
setinfokey (self, key, value);
// RPrint ("[default [" + self.netname + "](" + key + ")(" + value + ")(" + oldval + ")]\n");
}
return 1;
};
//=========================================================================