ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/plugins/cfanim/cfanim.c
(Generate patch)

Comparing deliantra/server/plugins/cfanim/cfanim.c (file contents):
Revision 1.4 by elmex, Wed Mar 15 15:35:51 2006 UTC vs.
Revision 1.5 by elmex, Sat Jul 15 11:57:02 2006 UTC

1085 if (buf !=0) 1085 if (buf !=0)
1086 strcpy(context->message,buf); 1086 strcpy(context->message,buf);
1087 break; 1087 break;
1088 case EVENT_TELL: 1088 case EVENT_TELL:
1089 break; 1089 break;
1090 case EVENT_FIND_UNARMED_SKILL:
1091 context->who = va_arg(args, object*);
1092 break;
1093 case EVENT_PLAYER_USE_SKILL:
1094 case EVENT_MONSTER_USE_SKILL:
1095 context->activator = va_arg(args, object*);
1096 context->who = va_arg(args, object*);
1097 context->third = va_arg(args, object*);
1098 context->fix = va_arg(args, int);
1099
1100 buf = va_arg(args, char*);
1101 if (buf !=0)
1102 strncpy(context->message, buf, sizeof (context->message));
1103 break;
1090 } 1104 }
1091 va_end(args); 1105 va_end(args);
1092 context->returnvalue = 0; 1106 context->returnvalue = 0;
1093 1107
1094 pushContext(context); 1108 pushContext(context);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines