diff options
Diffstat (limited to 'src/commandset.cpp')
-rw-r--r-- | src/commandset.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/commandset.cpp b/src/commandset.cpp index a125541..c2231d5 100644 --- a/src/commandset.cpp +++ b/src/commandset.cpp | |||
@@ -36,3 +36,9 @@ bool CommandSet::dispatch( class GameState &gState, const Bu::StringList &lCmd ) | |||
36 | return false; | 36 | return false; |
37 | } | 37 | } |
38 | 38 | ||
39 | void CommandSet::exec( class GameState &gState, int idx ) | ||
40 | { | ||
41 | CommandList::iterator i = lCommand.begin()+idx; | ||
42 | (*i)->exec( gState, Bu::StringList() ); | ||
43 | } | ||
44 | |||