summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/action.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/common/action.h b/common/action.h
index c4237e6..5099e03 100644
--- a/common/action.h
+++ b/common/action.h
@@ -21,11 +21,9 @@ class Action {
//! Type of action.
Type type;
- //! Target of action (if applicable).
- int target;
- //! Second target of action (if applicable)
- int target2;
-
+ //! Targets of action (if applicable).
+ std::vector<int> target;
+
//! Player doing this action
int player;
@@ -33,7 +31,6 @@ class Action {
void serialize(Archive & ar, const unsigned int version) {
ar & type;
ar & target;
- ar & target2;
ar & player;
}
};