Skip to content

Commit

Permalink
Making use of IS_SAME_HIVENUMBER
Browse files Browse the repository at this point in the history
  • Loading branch information
xDanilcusx committed Jan 24, 2024
1 parent b330771 commit 2a1a5ee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ At bare minimum, make sure the relevant checks from parent types gets copied in
if(!.)
return

if(X.hivenumber != hivenumber)
if(!IS_SAME_HIVENUMBER(X, src))
return HUMAN_PENALTY

return XENO_PENALTY
Expand All @@ -147,7 +147,7 @@ At bare minimum, make sure the relevant checks from parent types gets copied in
if(!.)
return FALSE

if(ai_xeno.hivenumber == hivenumber)
if(IS_SAME_HIVENUMBER(ai_xeno, src))
return FALSE

return TRUE
Expand Down

0 comments on commit 2a1a5ee

Please sign in to comment.