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:
zico 2015-12-11 12:50:01 +01:00
parent 00e52d382e
commit 7a78568b14

View file

@ -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