Fixed compilation of non debug version
This commit is contained in:
parent
198686dfd6
commit
8b3e5c8d45
1 changed files with 5 additions and 1 deletions
|
@ -666,7 +666,11 @@ void ShowOrder(const CUnit &unit)
|
|||
if (unit.Destroyed) {
|
||||
return;
|
||||
}
|
||||
if (!DEBUG && unit.Player != ThisPlayer && !ThisPlayer->IsAllied(unit)) {
|
||||
if (!ThisPlayer->IsAllied(unit)
|
||||
#ifndef DEBUG
|
||||
&& unit.Player != ThisPlayer
|
||||
#endif
|
||||
) {
|
||||
return;
|
||||
}
|
||||
// Get current position
|
||||
|
|
Loading…
Add table
Reference in a new issue