Bug #1559 » 0024-Fix-check-that-collect-ransom-target-is-a-barbarian-.patch
| common/actres.c | ||
|---|---|---|
|     break; | ||
|   case ACTRES_COLLECT_RANSOM: | ||
|     if (!is_barbarian(actor->player) | ||
|     if (!is_barbarian(target->player) | ||
|         || !uclass_has_flag(unit_class_get(actor->unit), UCF_COLLECT_RANSOM)) { | ||
|       return FALSE; | ||
|     } | ||
- « Previous
- 1
- 2
- Next »