diff options
Diffstat (limited to '')
-rw-r--r-- | src/action.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/action.cpp b/src/action.cpp index be11f48..cae4f01 100644 --- a/src/action.cpp +++ b/src/action.cpp | |||
@@ -38,3 +38,11 @@ std::string Action::getWhat() | |||
38 | return (*i).sWhat; | 38 | return (*i).sWhat; |
39 | } | 39 | } |
40 | 40 | ||
41 | void Action::setMode( eAction nAct ) | ||
42 | { | ||
43 | for( CmdList::iterator j = lCmds.begin(); j != lCmds.end(); j++ ) | ||
44 | { | ||
45 | (*j).act = nAct; | ||
46 | } | ||
47 | } | ||
48 | |||