From c07e5887db5ffe33f7048d2fd02abf546f44d235 Mon Sep 17 00:00:00 2001 From: Bartek Waresiak Date: Sun, 5 Jul 2009 09:58:44 +0000 Subject: [PATCH] mordante wished for comment to reman here :) --- src/formula_callable.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/formula_callable.hpp b/src/formula_callable.hpp index 069edda3154..147a3b8584a 100644 --- a/src/formula_callable.hpp +++ b/src/formula_callable.hpp @@ -93,6 +93,9 @@ protected: throw type_error("Tried to serialize type which cannot be serialized"); } + //priority for objects that are derived from this class, used in do_compare + //when comparing objects of different types + //for example: formula_callable < terrain_callable < unit_type_callable ... enum TYPE { FORMULA_C, TERRAIN_C, LOCATION_C, UNIT_TYPE_C, UNIT_C, ATTACK_TYPE_C, MOVE_PARTIAL_C, MOVE_C, ATTACK_C, MOVE_MAP_C };