OSDN Git Service
(root)
/
kcd
/
KCD.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5067a0
)
艦載機数表示ごかし買ったので修正
author
masakih
<masakih@users.sourceforge.jp>
Wed, 1 Feb 2017 11:25:41 +0000
(20:25 +0900)
committer
masakih
<masakih@users.sourceforge.jp>
Wed, 1 Feb 2017 11:25:41 +0000
(20:25 +0900)
KCD/HMKCShipObject.swift
patch
|
blob
|
history
diff --git
a/KCD/HMKCShipObject.swift
b/KCD/HMKCShipObject.swift
index
b178b4e
..
cd64f6b
100644
(file)
--- a/
KCD/HMKCShipObject.swift
+++ b/
KCD/HMKCShipObject.swift
@@
-412,8
+412,8
@@
extension HMKCShipObject {
if let item = slotItem(index),
allPlaneTypes.contains(item.master_slotItem.type_2)
- { return .
notEquip(
maxCount) }
- return .
equiped(slotItemCount(index),
maxCount)
+ { return .
equiped(slotItemCount(index),
maxCount) }
+ return .
notEquip(
maxCount)
}
private func planeString(_ index: Int) -> String? {
switch planState(index) {