mirror of
https://github.com/UberGames/rpgxEF.git
synced 2024-11-10 15:21:34 +00:00
Fixed two splint warnings
This commit is contained in:
parent
8cd58f3bb1
commit
caf8ae371a
2 changed files with 3 additions and 3 deletions
|
@ -1064,7 +1064,7 @@ qboolean G_MoveBox (gentity_t* ent);
|
|||
*
|
||||
* \return an matching entity or NULL
|
||||
*/
|
||||
gentity_t* G_Find (gentity_t* from, int fieldofs, const char* match);
|
||||
/*@shared@*/ gentity_t* G_Find (/*@null@*/ gentity_t* from, size_t fieldofs, const char* match);
|
||||
|
||||
/**
|
||||
* \brief Pick a target.
|
||||
|
@ -1075,7 +1075,7 @@ gentity_t* G_Find (gentity_t* from, int fieldofs, const char* match);
|
|||
*
|
||||
* \return an entity or NULL
|
||||
*/
|
||||
gentity_t* G_PickTarget (char* targetname);
|
||||
/*@shared@*/ gentity_t* G_PickTarget (char* targetname);
|
||||
|
||||
/**
|
||||
* \brief Use all of the given entity's targets.
|
||||
|
|
|
@ -148,7 +148,7 @@ void G_TeamCommand( team_t team, char *cmd ) {
|
|||
}
|
||||
}
|
||||
|
||||
gentity_t *G_Find (gentity_t *from, int fieldofs, const char *match)
|
||||
gentity_t *G_Find (gentity_t *from, size_t fieldofs, const char *match)
|
||||
{
|
||||
char *s;
|
||||
|
||||
|
|
Loading…
Reference in a new issue