Skip to content

Commit

Permalink
fix logic expression
Browse files Browse the repository at this point in the history
  • Loading branch information
ennorehling committed Jun 16, 2024
1 parent 32993dc commit 4c99522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/magic.c
Original file line number Diff line number Diff line change
Expand Up @@ -2004,7 +2004,7 @@ struct region * co_get_region(const struct castorder * co) {
void create_castorder(castorder * co, unit *caster, unit * familiar, const spell * sp, region * r,
int lev, double force, int range, struct order * ord, spellparameter * a_params)
{
assert(co && a_params == NULL || arrlen(a_params) > 0);
assert(co && (a_params == NULL || arrlen(a_params) > 0));
co->next = NULL;
co->magician.u = caster;
co->_familiar = familiar;
Expand Down

0 comments on commit 4c99522

Please sign in to comment.