This commit is contained in:
aap 2019-06-29 18:36:31 +02:00
parent 8946a20983
commit d12db35a9f

View File

@ -31,7 +31,7 @@ CDummy::Add(void)
for(x = xstart; x <= xend; x++){ for(x = xstart; x <= xend; x++){
s = CWorld::GetSector(x, y); s = CWorld::GetSector(x, y);
if(x == xmid && y == ymid) if(x == xmid && y == ymid)
list = &s->m_lists[ENTITYLIST_OBJECTS]; list = &s->m_lists[ENTITYLIST_DUMMIES];
else else
list = &s->m_lists[ENTITYLIST_DUMMIES_OVERLAP]; list = &s->m_lists[ENTITYLIST_DUMMIES_OVERLAP];
CPtrNode *node = list->InsertItem(this); CPtrNode *node = list->InsertItem(this);