slight tweak to drawing order to guarantee the order is a strict ordering
This commit is contained in:
parent
28983b04ad
commit
b1eac81170
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ public:
|
|||
//! This returns the order in which the units should be drawn so they overlap
|
||||
//! propererly.
|
||||
static int get_drawing_order (const gamemap::location& loc )
|
||||
{ return (loc.y * 2 + loc.x % 2) * 1024; }
|
||||
{ return (loc.y * 2 + loc.x % 2) * 1024+loc.x; }
|
||||
|
||||
const t_translation::t_list& underlying_mvt_terrain(const location& loc) const
|
||||
{ return underlying_mvt_terrain(get_terrain(loc)); }
|
||||
|
|
Loading…
Add table
Reference in a new issue