If the defendant in an action to determine adverse claims disclaim in his answer any interest or estate in the property or suffer judgment to be taken against him without answer, the plaintiff cannot recover costs except as provided in § 21-41-3.
SDCL 21-41-13