Skip to content

Commit

Permalink
Fix bug: skill Sunder.
Browse files Browse the repository at this point in the history
  • Loading branch information
andor9 committed Jan 6, 2016
1 parent a648608 commit 79ab6e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1369,7 +1369,7 @@ inline bool skill_predicate<overload>(Field* fd, CardStatus* src, CardStatus* ds
template<>
inline bool skill_predicate<rally>(Field* fd, CardStatus* src, CardStatus* dst, const SkillSpec& s)
{
return fd->tapi == dst->m_player ? is_active(dst) && !has_attacked(dst) : is_active_next_turn(dst);
return ! dst->m_sundered && (fd->tapi == dst->m_player ? is_active(dst) && !has_attacked(dst) : is_active_next_turn(dst));
}

template<>
Expand Down
2 changes: 1 addition & 1 deletion tyrant.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef TYRANT_H_INCLUDED
#define TYRANT_H_INCLUDED

#define TYRANT_OPTIMIZER_VERSION "2.16.0"
#define TYRANT_OPTIMIZER_VERSION "2.16.1"

#include <string>
#include <sstream>
Expand Down

0 comments on commit 79ab6e8

Please sign in to comment.