How the hell did that get there.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401974
This commit is contained in:
Matt Woodrow 2008-04-01 00:06:08 +00:00
parent b9aac380d4
commit b9bd1b1037

View File

@ -815,7 +815,7 @@ CON_COMMAND(sm_dump_datamaps, "Dumps the data map list as a text file")
UTIL_DrawDataTable(fp, pMap, 0);
typedescription_t *datamap = gamehelpers->FindInDataMap(pMap), "m_iEFlags");
typedescription_t *datamap = gamehelpers->FindInDataMap(pMap, "m_iEFlags");
int *eflags = (int *)((char *)entity->GetBaseEntity() + datamap->fieldOffset[TD_OFFSET_NORMAL]);
*eflags |= (1<<0); // EFL_KILLME