summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAtle Hellvik Havsø <atle@havso.net>2010-11-23 13:24:21 +0100
committerAtle Hellvik Havsø <atle@havso.net>2010-11-23 13:24:21 +0100
commit33fbb2451fdac7f36bf3934aab0f64bb0896bf08 (patch)
tree2713be52cc1b524ba124e332fdb79c56d62f6f07 /common
parent62a05732e05a25f40fbb409e49ff30e3fc8bd28c (diff)
Added a second target to Action.
Diffstat (limited to 'common')
-rw-r--r--common/action.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/action.h b/common/action.h
index 1c07086..c4237e6 100644
--- a/common/action.h
+++ b/common/action.h
@@ -23,6 +23,8 @@ class Action {
//! Target of action (if applicable).
int target;
+ //! Second target of action (if applicable)
+ int target2;
//! Player doing this action
int player;
@@ -31,6 +33,7 @@ class Action {
void serialize(Archive & ar, const unsigned int version) {
ar & type;
ar & target;
+ ar & target2;
ar & player;
}
};