]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/tcpclient.cpp
Added everything necessary to save overtop of the old dragon when someone beats the...
[irc/gameservirc.git] / gameserv / tcpclient.cpp
index fa73761f74c8978c4e8fa7c5306b83e39f93f4af..dccf1c9dd870de905597717546844521c082fdea 100644 (file)
@@ -117,6 +117,12 @@ int main(int argc, char *argv[])
        goto end;
   }
 
+  if (!load_dragon())
+  {
+       log("Error loading dragon");
+       goto end;
+  }
+
   if (load_levels() == false)
   {
        log("Error loading levels");
@@ -584,6 +590,7 @@ int main(int argc, char *argv[])
   end:
 
   save_gs_dbase();
+  save_dragon();
   saveNews(newsdata, todaysnews);
 
   delete_monsters();