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

Comparing deliantra/server/server/time.C (file contents):
Revision 1.99 by root, Sat Nov 7 18:30:06 2009 UTC vs.
Revision 1.100 by root, Sun Nov 29 09:41:28 2009 UTC

1086 if (!op->stats.maxsp && op->attacktype) 1086 if (!op->stats.maxsp && op->attacktype)
1087 op->stats.maxsp = 2; 1087 op->stats.maxsp = 2;
1088 1088
1089 if (op->attacktype) 1089 if (op->attacktype)
1090 { /* flag to paralyze the player */ 1090 { /* flag to paralyze the player */
1091 victim->speed_left = max (-5.f, -fabs (op->stats.maxsp * victim->speed / op->speed)); 1091 victim->speed_left = max (-5.f, -op->stats.maxsp * victim->speed / op->speed);
1092 } 1092 }
1093 } 1093 }
1094 } 1094 }
1095} 1095}
1096 1096

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines