My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 31: report(REPORT_FIELD_UNIT_ENTERED) v createUnit
  Back to list
Status:  Verified
Owner:  gas...@gmail.com
Closed:  Feb 2007


 
Project Member Reported by jakub.ko...@gmail.com, Feb 16, 2007
Rozmysli prosím, zda ta kontrola v UnitMaanger::createUnit má smysl - zda
tam bude nenulová m_firstCondition. Imho bude vždy NULL.
Resp. zda by ta kontrola neměla být nekdě později, kde už budeš mít šanci
tam nějakou podmínku propašovat.
Zatím nechávám.
Je to tenhle kus kódu (teď line cca 443):

// ToDo: tohle by nemelo nikdy nastat - bude to NULL!! - gASK addon -
vytvorena jednotka vstoupila na pole
if(unit->m_field->m_Condition != NULL)
{
	unit->m_field->m_Condition->report(REPORT_FIELD_UNIT_ENTERED, unit->m_field);
	}

return unit;

Feb 17, 2007
Project Member #1 jakub.ko...@gmail.com
Jsem blbec, condition je na field..
Status: Invalid
Feb 17, 2007
Project Member #2 jakub.ko...@gmail.com
(No comment was entered for this change.)
Status: Verified

Powered by Google Project Hosting