Monsters hitting the wrong guy?

Discuss Chaos Strikes Back for Windows and Linux, an unofficial port of Chaos Strikes Back to PC by Paul Stevens, as well as CSBuild, an associated dungeon editor.

Moderator: Zyx

Forum rules
Please read the Forum rules and policies before posting.
Post Reply
Draken P

Monsters hitting the wrong guy?

Post by Draken P »

Anyone noticed this:
The monsters in front are hitting the champions at the right side.
It seems that the order of the champions is rotated 90 degrees clockwise. Why?

This sure looks like a bug to me..
User avatar
Paul Stevens
CSBwin Guru
Posts: 4318
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Re: Monsters hitting the wrong guy?

Post by Paul Stevens »

You know what? I sort of noticed that the wrong champion
was getting hurt sometimes. But it never bothered me and
I sort of forgot about it. I'll bet that it is a very
simple bug. There is a table of attacking order and it must
be rotated to match the player's facing direction.
It might be working right for some directions and not
for others. I will check it out and let you know.
Thanks for the report.

PAul prsteven@facstaff.wisc.edu
User avatar
Paul Stevens
CSBwin Guru
Posts: 4318
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Re: Monsters hitting the wrong guy?

Post by Paul Stevens »

This bug has been found and fixed. It was caused by a missing
set of parentheses. (Operator precedence + versus &.)

In the process, I also found a bug that caused the same
Champion to be hit each and every time. Fixed that, too.
It was a simple translation error. It got so my fingers were
doing the work instead of my brain and they did the wrong thing.

Next weekend I will send a new version to Christophe if no
big bugs are discovered before then.

PAul prsteven@facstaff.wisc.edu
Post Reply

Return to “Chaos Strikes Back for Windows & Linux (CSBWin) / CSBuild”