How the hell did that get there.
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401974
This commit is contained in:
parent
b9aac380d4
commit
b9bd1b1037
@ -815,7 +815,7 @@ CON_COMMAND(sm_dump_datamaps, "Dumps the data map list as a text file")
|
|||||||
|
|
||||||
UTIL_DrawDataTable(fp, pMap, 0);
|
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]);
|
int *eflags = (int *)((char *)entity->GetBaseEntity() + datamap->fieldOffset[TD_OFFSET_NORMAL]);
|
||||||
*eflags |= (1<<0); // EFL_KILLME
|
*eflags |= (1<<0); // EFL_KILLME
|
||||||
|
Loading…
Reference in New Issue
Block a user