#1885: A couple of assertion fails in different places.
-----------------------------------------------------------+----------------
Reporter: freakyd <iamabigwiener...@…> | Type: bug
Status: new | Priority:
critical
Milestone: 3.0 | Component:
Campaign
Version: svn/trunk | Keywords:
Operating_system: All/Non-Specific | Blockedby:
Blocking: |
-----------------------------------------------------------+----------------
display.c line 2585 it has:
{{{
ASSERT(psClickedOn->type == OBJ_FEATURE, "Weird selection from RMB - type
of clicked object is %d", (int)psClickedOn->type);
}}}
which shouldn't assert, because that crashes the game all the time!
instead I put:
{{{
printf("%d Selected by RMB and generated an error!\n",
(int)psClickedOn->type);
}}}
which generates a message but lets the game keep playing.
--
Ticket URL: <http://developer.wz2100.net/ticket/1885>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev