瀏覽代碼

Fix nested /* */.

Steve Thielemann 3 年之前
父節點
當前提交
3607cbad08
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      dispatchers.cpp

+ 4 - 2
dispatchers.cpp

@@ -532,7 +532,8 @@ void MoveDispatch::server_line(const std::string &line,
 
 /*
 bool MoveDispatch::density_clear(density d) {  // int sector, int density) {
-  /*
+  */ 
+ /*
   http://wiki.classictw.com/index.php?title=Gypsy%27s_Big_Dummy%27s_Guide_to_TradeWars_Text#Trader_Information
   Density Readings:
     0 = Empty Sector or Ferrengi Dreadanought
@@ -552,7 +553,8 @@ bool MoveDispatch::density_clear(density d) {  // int sector, int density) {
   500 = Planet
   512 = Federation Starship under Admiral Clausewitz
   575 = Destroyed Port (Before 25% Nav-Haz Clears)
-  */ /*
+  */ 
+ /*
   if (d.sector == 0) return false;
 
   switch (d.density) {