[9709] change case 0 handle for basepoints calculation

This commit is contained in:
Laise 2010-04-09 18:15:37 +03:00
parent c6af8b7d3e
commit 15e4d337c3
2 changed files with 2 additions and 2 deletions

View file

@ -11312,7 +11312,7 @@ int32 Unit::CalculateSpellDamage(Unit const* target, SpellEntry const* spellProt
switch(randomPoints)
{
case 0: break; // not used
case 0: // not used
case 1: basePoints += 1; break; // range 1..1
default:
// range can have positive (1..rand) and negative (rand..1) values, so order its for irand

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9708"
#define REVISION_NR "9709"
#endif // __REVISION_NR_H__