From 7404c596e96bf18f458f10fb8f23ca6e1a25ca7d Mon Sep 17 00:00:00 2001 From: Treeki Date: Sun, 16 Sep 2012 04:59:03 +0200 Subject: go speed! a terrible hack to make builds far faster --- src/linegod.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/linegod.cpp') diff --git a/src/linegod.cpp b/src/linegod.cpp index c727de4..dedbea6 100644 --- a/src/linegod.cpp +++ b/src/linegod.cpp @@ -72,12 +72,6 @@ struct LineGod { BgActor *ac[8]; // 0x3D8 }; -struct EventTable_t { - u64 events; - // ... -}; - -extern EventTable_t *EventTable; fBase_c *FindActorByID(u32 id); @@ -174,7 +168,7 @@ bool LineGod_AppendToList(LineGod *self, BgActor *ac) { void LineGod_Update(LineGod *self) { u8 newEvState = 0; - if (EventTable->events & self->eventFlag) + if (dFlagMgr_c::instance->flags & self->eventFlag) newEvState = 1; if (newEvState == self->lastEvState) -- cgit v1.2.3