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

Comparing deliantra/server/random_maps/monster.C (file contents):
Revision 1.12 by root, Mon Jan 15 15:54:19 2007 UTC vs.
Revision 1.13 by root, Sat Jan 27 00:56:48 2007 UTC

73 int number_monsters = 0; 73 int number_monsters = 0;
74 archetype *at; 74 archetype *at;
75 75
76 sprintf (styledirname, "%s", "/styles/monsterstyles"); 76 sprintf (styledirname, "%s", "/styles/monsterstyles");
77 style_map = find_style (styledirname, monsterstyle, difficulty); 77 style_map = find_style (styledirname, monsterstyle, difficulty);
78 if (style_map == 0) 78 if (!style_map)
79 return; 79 return;
80 80
81 /* fill up the map with random monsters from the monster style */ 81 /* fill up the map with random monsters from the monster style */
82 82
83 total_experience = 0; 83 total_experience = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines