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

Comparing deliantra/server/server/spell_util.C (file contents):
Revision 1.112 by root, Sat Apr 3 17:15:19 2010 UTC vs.
Revision 1.113 by root, Thu Apr 8 17:52:59 2010 UTC

1085 * doing. 1085 * doing.
1086 */ 1086 */
1087 1087
1088 if ((mflags & P_SAFE) && !QUERY_FLAG (op, FLAG_WIZCAST)) // There is _ABSOLUTELY_ no magic allowed here (except wizards :-)! 1088 if ((mflags & P_SAFE) && !QUERY_FLAG (op, FLAG_WIZCAST)) // There is _ABSOLUTELY_ no magic allowed here (except wizards :-)!
1089 { 1089 {
1090 op->speed_left -= 2 * op->speed; // freeze for two ticks, so we don't flood
1090 op->failmsg ("This ground is sacred! The gods prevent any magical effects done by you here!"); 1091 op->failmsg ("This ground is sacred! The gods prevent any magical effects done by you here!");
1091 return 0; 1092 return 0;
1092 } 1093 }
1093 1094
1094 if ((spell_ob->type == SPELL) 1095 if ((spell_ob->type == SPELL)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines