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

Comparing deliantra/server/server/attack.C (file contents):
Revision 1.146 by root, Fri Jan 27 22:00:40 2012 UTC vs.
Revision 1.147 by root, Fri Jan 27 22:01:46 2012 UTC

28#include <material.h> 28#include <material.h>
29#include <skills.h> 29#include <skills.h>
30#include <sounds.h> 30#include <sounds.h>
31#include <sproto.h> 31#include <sproto.h>
32 32
33typedef struct att_msg_str
34{
35 char *msg1;
36 char *msg2;
37} att_msg;
38
39/*#define ATTACK_DEBUG*/ 33/*#define ATTACK_DEBUG*/
40 34
41/* did_make_save_item just checks to make sure the item actually 35/* did_make_save_item just checks to make sure the item actually
42 * made its saving throw based on the tables. It does not take 36 * made its saving throw based on the tables. It does not take
43 * any further action (like destroying the item). 37 * any further action (like destroying the item).
363 if (op->destroyed ()) 357 if (op->destroyed ())
364 break; 358 break;
365 } 359 }
366 } 360 }
367 361
368 return 0; 362 return retflag;
369} 363}
370 364
371static void 365static void
372attack_message (int dam, int type, object *op, object *hitter) 366attack_message (int dam, int type, object *op, object *hitter)
373{ 367{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines