First batch of fixes (CallAndMessage)
This commit is contained in:
@ -504,6 +504,9 @@ CEntity::Add(void)
|
||||
case ENTITY_TYPE_DUMMY:
|
||||
list = &s->m_lists[ENTITYLIST_DUMMIES_OVERLAP];
|
||||
break;
|
||||
#ifdef FIX_BUGS
|
||||
default: debug("This shouldn't happen"); return;
|
||||
#endif
|
||||
}
|
||||
list->InsertItem(this);
|
||||
}
|
||||
@ -564,6 +567,9 @@ CEntity::Remove(void)
|
||||
case ENTITY_TYPE_DUMMY:
|
||||
list = &s->m_lists[ENTITYLIST_DUMMIES_OVERLAP];
|
||||
break;
|
||||
#ifdef FIX_BUGS
|
||||
default: debug("This shouldn't happen"); return;
|
||||
#endif
|
||||
}
|
||||
list->RemoveItem(this);
|
||||
}
|
||||
|
Reference in New Issue
Block a user