Page 1 of 1

bugs archeology

Posted: Sun Mar 02, 2014 4:55 pm
by jack1974
...this one was well buried in the 500k lines of code* of Loren framework since September 2012, a simple mistake:

Code: Select all

                    if self.user.cIFF == "Friend":
                        PlayBattleVoice(pTarget.name,"hit")
instead of:

Code: Select all

                    if pTarget.cIFF == "Friend":
                        PlayBattleVoice(pTarget.name,"hit")
was preventing all the "party member was hit by enemies" battlevoice sounds to be played!!! :mrgreen:
Obviously a bug that can be easily ignored, but is fun how I discovered it today randomly while working on SOTW, and wondering why I wasn't hearing those voices. I'll fix Loren too even if is a minor thing!

* actually I didn't count the lines, but believe me are a LOT!