Bail out of multi_reset_object_texture() if object is a ghost. Prevents unnecessary calls and resulting bug messages from check_warn_object_type()
This commit is contained in:
parent
00e52d382e
commit
7a78568b14
|
@ -2317,6 +2317,9 @@ void multi_reset_object_texture (const vobjptr_t objp)
|
|||
{
|
||||
int id,i;
|
||||
|
||||
if (objp->type == OBJ_GHOST)
|
||||
return;
|
||||
|
||||
if (Game_mode & GM_TEAM)
|
||||
id = get_team(get_player_id(objp));
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue