1. Andrey Lesnikov
  2. post-apocalyptic-wargame

Commits

Andrey Lesnikov  committed f517329

path: fill_map(): die() -> return;

  • Participants
  • Parent commits 068aba6
  • Branches default

Comments (0)

Files changed (1)

File path.c

View file
 void
 fill_map (Unit *u) {
   if(!u)
-    die("path: fill_map(): u == NULL.\n");
+    return;
   clean_map();
   push(u->m, u->m, 0, u->dir); /*push start position*/
   while(stack.count > 0)