ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/spell_attack.C
(Generate patch)

Comparing deliantra/server/server/spell_attack.C (file contents):
Revision 1.84 by root, Tue Sep 1 20:56:05 2009 UTC vs.
Revision 1.85 by root, Tue Sep 1 22:40:26 2009 UTC

1908 1908
1909 tmp->stats.food = spell->duration + SP_level_duration_adjust (caster, spell); 1909 tmp->stats.food = spell->duration + SP_level_duration_adjust (caster, spell);
1910 1910
1911 if (tmp->glow_radius) 1911 if (tmp->glow_radius)
1912 tmp->set_glow_radius ( 1912 tmp->set_glow_radius (
1913 min (MAX_LIGHT_RADIUS, spell->range + SP_level_range_adjust (caster, spell)) 1913 clamp (spell->range + SP_level_range_adjust (caster, spell), 1, MAX_LIGHT_RADIUS)
1914 ); 1914 );
1915 1915
1916 if (dir) 1916 if (dir)
1917 m->insert (tmp, x, y, op); 1917 m->insert (tmp, x, y, op);
1918 else 1918 else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines