Menu

#40 m_medic.pas has strange non-standard convertions

open
nobody
5
2003-03-06
2003-03-06
No

In m_medic.pas, there is code that has been converted
to:

self^.monsterinfo.aiflags :=self^.monsterinfo.aiflags and
((AI_HOLD_FRAME+1)*(-1))

when everywhere else it is:

self^.monsterinfo.aiflags :=self^.monsterinfo.aiflags and
not AI_HOLD_FRAME;

which is more readable and is guaranteed to work
correctly. All relevant code should be changed.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.