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/effectvideo.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/effectvideo.cpp') diff --git a/src/effectvideo.cpp b/src/effectvideo.cpp index d690263..24089ef 100644 --- a/src/effectvideo.cpp +++ b/src/effectvideo.cpp @@ -4,7 +4,6 @@ #include -extern "C" void *PlaySoundAsync(dEn_c *, int soundID); extern "C" bool SpawnEffect(const char*, int, Vec*, S16Vec*, Vec*); @@ -25,12 +24,6 @@ class EffectVideo : public dEn_c { }; -struct EventTable_t { - u64 events; -}; - -extern EventTable_t *EventTable; - EffectVideo *EffectVideo::build() { void *buffer = AllocFromGameHeap1(sizeof(EffectVideo)); @@ -65,7 +58,7 @@ int EffectVideo::onDelete() { int EffectVideo::onExecute() { - if (EventTable->events & this->eventFlag) { + if (dFlagMgr_c::instance->flags & this->eventFlag) { if (this->timer == this->delay) { -- cgit v1.2.3