PDA

View Full Version : Some bug fixes...



Ryntar
05-10-2002, 02:02 AM
Some bug fixes. I'm not a developer on this, so you can make these changes manually. Replace or edit existing line at that location so that it matches the lines below.

** Fixes con color for level 55-56
player.cpp(964): greenRange = -20;
player.cpp(965): cyanRange = -15;

** Fixes misspelling for halfling
interface.cpp(62): "Troll", "Ogre", "Halfling", "Gnome", "Iksar",

** Fixes Glamour of Kintaz to reflect the increased spell duration change
spelltimes.h(5403): d = 54;


** Fixes that annoying spell duration timer bug where casting one spell would often alter the countdown duration on another spell as a side effect (drives chanters crazy).

Can't remember the line, but it is in spellshell.cpp and in the function "selfFinishSpellCast". You'll recognize the line. The change was to add the spawnId third parameter.

spellshell.cpp:
SpellItem *item = FindSpell(b->spellId, m_player->getPlayerID(), b->spawnId);

Zaphod
05-10-2002, 08:26 AM
Thanks for the info, I'll try to put these in my next CVS commit.

In the future, could you please submit these types of things as a patch? As long as the patch isn't adding new files you can just do the following to genereate a patch file:

$ cd <showeq_dir>
$ cvs diff -u > mypatch.diff


where <showeq_dir> is the top level directory of where you checked out showeq.

This makes it a lot easier for us to incorporate your changes.

Enjoy,
Zaphod (dohpaZ)