From: sparky4 Date: Tue, 26 Mar 2013 07:19:38 +0000 (-0500) Subject: modified: src/eng_core.cpp X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=76054517bc4855a1bd1866ef3bd34a07ac95ab1a;p=proj16%2F16.git modified: src/eng_core.cpp --- 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();