From 76054517bc4855a1bd1866ef3bd34a07ac95ab1a Mon Sep 17 00:00:00 2001 From: sparky4 Date: Tue, 26 Mar 2013 02:19:38 -0500 Subject: [PATCH] modified: src/eng_core.cpp --- src/eng_core.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/eng_core.cpp b/src/eng_core.cpp index b491a80d..084ca9ff 100644 --- a/src/eng_core.cpp +++ b/src/eng_core.cpp @@ -36,10 +36,14 @@ namespace engine{ } void Core::update() - { + { + /*for (std::list::iterator i = fp->begin(); i != fp->end(); i++) + //for (std::list::iterator i = this->fp.begin(); i != this->fp.end(); i++) + { + (this->*(*i))(); + }*/ // call update functions, instead of traversing a function pointer // list. Remove this comment! - sound(); if ( graphics_flag ) graphics(); -- 2.39.2