Pass argc and argv through to DrivenEngine::event_init
This commit is contained in:
@@ -41,7 +41,7 @@ private:
|
||||
void check_redirects();
|
||||
|
||||
public:
|
||||
virtual void event_init();
|
||||
virtual void event_init(int argc, char *argv[]);
|
||||
virtual void event_update();
|
||||
};
|
||||
|
||||
@@ -214,7 +214,7 @@ void TextGame::check_redirects() {
|
||||
}
|
||||
}
|
||||
|
||||
void TextGame::event_init()
|
||||
void TextGame::event_init(int argc, char *argv[])
|
||||
{
|
||||
world_.reset(new World(util::WORLD_TYPE_STANDALONE));
|
||||
world_->update_source(get_lua_source());
|
||||
|
||||
Reference in New Issue
Block a user