mirror of
https://github.com/UberGames/rpgxEF.git
synced 2025-04-22 17:00:53 +00:00
Fixed multiple splint warnings
This commit is contained in:
parent
caf8ae371a
commit
c5e13d0557
3 changed files with 4 additions and 4 deletions
|
@ -227,7 +227,7 @@ Chooses a player start, deathmatch start, etc
|
|||
/**
|
||||
* Chooses a player start, deathmatch start, etc
|
||||
*/
|
||||
gentity_t *G_Client_SelectSpawnPoint ( vec3_t avoidPoint, vec3_t origin, vec3_t angles ) {
|
||||
gentity_t* /*@alt void@*/ G_Client_SelectSpawnPoint ( vec3_t avoidPoint, vec3_t origin, vec3_t angles ) {
|
||||
gentity_t *spot;
|
||||
gentity_t *nearestSpot;
|
||||
|
||||
|
|
|
@ -2166,7 +2166,7 @@ void G_Client_CalculateRanks( qboolean fromExit ) {
|
|||
// decide if this should be auto-followed
|
||||
if ( level.clients[i].pers.connected == CON_CONNECTED ) {
|
||||
level.numPlayingClients++;
|
||||
if ( !(g_entities[i].r.svFlags & SVF_BOT) ) {
|
||||
if ( (g_entities[i].r.svFlags & SVF_BOT) == 0 ) {
|
||||
level.numVotingClients++;
|
||||
}
|
||||
if ( level.follow1 == -1 ) {
|
||||
|
@ -2308,7 +2308,7 @@ void FindIntermissionPoint( void ) {
|
|||
|
||||
// find the intermission spot
|
||||
ent = G_Find (NULL, FOFS(classname), "info_player_intermission");
|
||||
if ( !ent ) { // the map creator forgot to put in an intermission point...
|
||||
if ( ent == NULL ) { // the map creator forgot to put in an intermission point...
|
||||
G_Client_SelectSpawnPoint ( vec3_origin, level.intermission_origin, level.intermission_angle );
|
||||
} else {
|
||||
VectorCopy (ent->s.origin, level.intermission_origin);
|
||||
|
|
|
@ -976,7 +976,7 @@ varargs versions of all text functions.
|
|||
FIXME: make this buffer size safe someday
|
||||
============
|
||||
*/
|
||||
char * QDECL va( char *format, ... ) {
|
||||
/*@shared@*/ char * QDECL va( char *format, ... ) {
|
||||
va_list argptr;
|
||||
static char string[2][32000]; /* in case va is called by nested functions */
|
||||
static int index = 0;
|
||||
|
|
Loading…
Reference in a new issue