Tíquete #42791

Failing target kind assert for Poison City

: 2021-09-05 18:22 Última Atualização: 2021-09-17 11:04

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
Marcos:
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
3

Details

S3_1 (commit 82e38aecaab5b5aa0046f1b631c02aaf38e1db7b) civ2civ3 autogame logs:

0: - 2021/09/05 11:42:21 in is_action_enabled_unit_on_tile_full() [../../src/common/actions.c::4912]: assertion 'ATK_TILE == action_get_target_kind(action_by_number(wanted_action))' failed.

0: - 2021/09/05 11:42:21 in is_action_enabled_unit_on_tile_full() [../../src/common/actions.c::4912]: Action Poison City is against individual cities not tiles

I'll try to reproduce later.

Ticket History (3/9 Histories)

2021-09-05 18:22 Updated by: cazfi
  • New Ticket "Failing target kind assert for Poison City" created
2021-09-06 10:22 Updated by: cazfi
Comentário

Attached backtrace and an autogame to reproduce.

2021-09-07 08:47 Updated by: cazfi
  • Details Updated
2021-09-15 20:21 Updated by: cazfi
Comentário

Seems like activity gets passed to action_speculate_unit_on_tile() where action is expected.

2021-09-15 22:50 Updated by: cazfi
  • Resolução Update from Nenhum to Accepted
  • Marco Update from (Nenhum) to 3.1.0 (fechado)
  • Componente Update from (Nenhum) to Server
2021-09-17 11:04 Updated by: cazfi
  • Estado Update from Aberto to Fechado
  • Dono Update from (Nenhum) to cazfi
  • Resolução Update from Accepted to Fixed

Editar

Please login to add comment to this ticket » Login