From 33fbb2451fdac7f36bf3934aab0f64bb0896bf08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atle=20Hellvik=20Havs=C3=B8?= Date: Tue, 23 Nov 2010 13:24:21 +0100 Subject: Added a second target to Action. --- common/action.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common') 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; } }; -- cgit v1.2.3