fix warnings

This commit is contained in:
Enno Rehling 2008-05-16 17:21:43 +00:00
parent 1b93b094e4
commit 5bd67a6d2a
2 changed files with 1 additions and 1 deletions

View File

@ -1064,7 +1064,6 @@ spawn_dragons(void)
for (r = regions; r; r = r->next) { for (r = regions; r; r = r->next) {
unit * u; unit * u;
message * msg;
if (fval(r->terrain, SEA_REGION) && rng_int()%10000 < 1) { if (fval(r->terrain, SEA_REGION) && rng_int()%10000 < 1) {
u = createunit(r, monsters, 1, new_race[RC_SEASERPENT]); u = createunit(r, monsters, 1, new_race[RC_SEASERPENT]);

View File

@ -24,6 +24,7 @@
#include "teleport.h" #include "teleport.h"
/* kernel includes */ /* kernel includes */
#include "equipment.h"
#include "unit.h" #include "unit.h"
#include "region.h" #include "region.h"
#include "race.h" #include "race.h"