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

Comparing deliantra/server/server/c_misc.C (file contents):
Revision 1.13 by root, Mon Oct 2 00:22:01 2006 UTC vs.
Revision 1.14 by root, Tue Nov 7 16:30:55 2006 UTC

453int 453int
454command_dumpbelow (object *op, char *params) 454command_dumpbelow (object *op, char *params)
455{ 455{
456 if (op && op->below) 456 if (op && op->below)
457 { 457 {
458 dump_object (op->below); 458 char *dump = dump_object (op->below);
459 new_draw_info (NDI_UNIQUE, 0, op, errmsg); 459 new_draw_info (NDI_UNIQUE, 0, op, dump);
460 free (dump);
460 /* Let's push that item on the dm's stack */ 461 /* Let's push that item on the dm's stack */
461 dm_stack_push (op->contr, op->below->count); 462 dm_stack_push (op->contr, op->below->count);
462 } 463 }
463 return 0; 464 return 0;
464} 465}
465 466
466int 467int
467command_dumpallobjects (object *op, char *params)
468{
469 dump_all_objects ();
470 return 0;
471}
472
473int
474command_dumpfriendlyobjects (object *op, char *params) 468command_dumpfriendlyobjects (object *op, char *params)
475{ 469{
476 dump_friendly_objects (); 470 dump_friendly_objects ();
477 return 0;
478}
479
480int
481command_dumpallarchetypes (object *op, char *params)
482{
483 dump_all_archetypes ();
484 return 0; 471 return 0;
485} 472}
486 473
487int 474int
488command_dumpmap (object *op, char *params) 475command_dumpmap (object *op, char *params)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines