summaryrefslogtreecommitdiff
path: root/common/action.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/action.h')
-rw-r--r--common/action.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/action.h b/common/action.h
index 21fc7d0..1c07086 100644
--- a/common/action.h
+++ b/common/action.h
@@ -24,10 +24,14 @@ class Action {
//! Target of action (if applicable).
int target;
+ //! Player doing this action
+ int player;
+
template<class Archive>
void serialize(Archive & ar, const unsigned int version) {
ar & type;
ar & target;
+ ar & player;
}
};