Ticket #42791

Failing target kind assert for Poison City

Open Date: 2021-09-05 18:22 Last Update: 2021-09-17 11:04

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
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
Comment

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
Comment

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

2021-09-15 22:50 Updated by: cazfi
  • Resolution Update from None to Accepted
  • Milestone Update from (None) to 3.1.0 (closed)
  • Component Update from (None) to Server
2021-09-17 11:04 Updated by: cazfi
  • Status Update from Open to Closed
  • Owner Update from (None) to cazfi
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login