Fix various warnings
This commit is contained in:
1 parent
549b686e22
commit
f976711fb4
58 files changed
+384
-425
No files matched your search
+2
-2
@@ -690,8 +690,8 @@ void FinishSpawningItem( gentity_t *ent ) {
|
||||
G_SetOrigin( ent, tr.endpos );
|
||||
}
|
||||
|
||||
// team slaves and targeted items aren't present at start
|
||||
if ( ( ent->flags & FL_TEAMSLAVE ) || ent->targetname ) {
|
||||
// team members and targeted items aren't present at start
|
||||
if ( ( ent->flags & FL_TEAMMEMBER ) || ent->targetname ) {
|
||||
ent->s.eFlags |= EF_NODRAW;
|
||||
ent->r.contents = 0;
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user