mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2024-11-10 07:11:51 +00:00
tell the server we handled the info change
This commit is contained in:
parent
cf7e85b32c
commit
25d721153d
2 changed files with 4 additions and 3 deletions
4
makefile
4
makefile
|
@ -1,6 +1,6 @@
|
||||||
all: progs.src *.qc *.qh
|
all: progs.src *.qc *.qh
|
||||||
qfcc --warn=error --advanced $(CFLAGS)
|
qfcc --warn=error --code=no-single-cpp --advanced $(CFLAGS)
|
||||||
debug: progs.src *.qc *.qh
|
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:
|
clean:
|
||||||
rm -f core *.dat *.pqc *.sym progdefs.h
|
rm -f core *.dat *.pqc *.sym progdefs.h
|
||||||
|
|
|
@ -556,7 +556,7 @@ void (entity pl, float topcolor, float bottomcolor) SetPlayerColor =
|
||||||
// stuffcmd (pl, "color " + top + " " + bottom + "\n");
|
// stuffcmd (pl, "color " + top + " " + bottom + "\n");
|
||||||
};
|
};
|
||||||
|
|
||||||
void (string key, string value) UserInfoCallback =
|
float (string key, string value) UserInfoCallback =
|
||||||
{ // FIXME: remove the cheat poller
|
{ // FIXME: remove the cheat poller
|
||||||
local string oldval;
|
local string oldval;
|
||||||
oldval = infokey (self, key);
|
oldval = infokey (self, key);
|
||||||
|
@ -589,6 +589,7 @@ void (string key, string value) UserInfoCallback =
|
||||||
setinfokey (self, key, value);
|
setinfokey (self, key, value);
|
||||||
// RPrint ("[default [" + self.netname + "](" + key + ")(" + value + ")(" + oldval + ")]\n");
|
// RPrint ("[default [" + self.netname + "](" + key + ")(" + value + ")(" + oldval + ")]\n");
|
||||||
}
|
}
|
||||||
|
return 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
|
Loading…
Reference in a new issue