OSDN Git Service
(root)
/
kancollesniffer
/
KancolleSniffer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
862d85b
)
深海棲艦のデータが減ったことに対応する
author
Kazuhiro Fujieda
<fujieda@users.osdn.me>
Fri, 17 Jul 2015 09:16:32 +0000
(18:16 +0900)
committer
Kazuhiro Fujieda
<fujieda@users.osdn.me>
Fri, 17 Jul 2015 10:11:04 +0000
(19:11 +0900)
KancolleSniffer/ShipMaster.cs
patch
|
blob
|
history
diff --git
a/KancolleSniffer/ShipMaster.cs
b/KancolleSniffer/ShipMaster.cs
index
b3d8b87
..
473dc07
100644
(file)
--- a/
KancolleSniffer/ShipMaster.cs
+++ b/
KancolleSniffer/ShipMaster.cs
@@
-36,9
+36,9
@@
namespace KancolleSniffer
{
\r
Id = (int)entry.api_id,
\r
Name = ShipName(entry),
\r
- FuelMax =
(int)entry.api_fuel_max
,
\r
- BullMax =
(int)entry.api_bull_max
,
\r
- MaxEq =
(int[])entry.api_maxeq
,
\r
+ FuelMax =
entry.api_fuel_max() ? (int)entry.api_fuel_max : 0
,
\r
+ BullMax =
entry.api_bull_max() ? (int)entry.api_bull_max : 0
,
\r
+ MaxEq =
entry.api_maxeq() ? (int[])entry.api_maxeq : new int[0]
,
\r
ShipType = (int)entry.api_stype,
\r
ShipTypeName = dict[entry.api_stype]
\r
};
\r