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:
9de50d5
)
ship_6に対応
author
masakih
<masakih@users.sourceforge.jp>
Thu, 23 Nov 2017 03:17:44 +0000
(12:17 +0900)
committer
masakih
<masakih@users.sourceforge.jp>
Thu, 23 Nov 2017 03:17:44 +0000
(12:17 +0900)
KCD/Deck.swift
patch
|
blob
|
history
diff --git
a/KCD/Deck.swift
b/KCD/Deck.swift
index
1fc8d99
..
464b246
100644
(file)
--- a/
KCD/Deck.swift
+++ b/
KCD/Deck.swift
@@
-41,6
+41,7
@@
extension Deck {
case 3: ship_3 = id
case 4: ship_4 = id
case 5: ship_5 = id
+ case 6: ship_6 = id
default: break // fatalError("Deck.setShip: position out of range.")
}
}
@@
-54,6
+55,7
@@
extension Deck {
case 3: return ship_3
case 4: return ship_4
case 5: return ship_5
+ case 6: return ship_6
default: return nil
}
}