• R/O
  • HTTP
  • SSH
  • HTTPS

KCD: Commit

main code repository.


Commit MetaInfo

Revisionf6378a369454d7e6ffb1876958fdfa9706947580 (tree)
Time2014-04-24 21:05:10
Authormasakih <masakih@user...>
Commitermasakih

Log Message

小破、中破、大破の色表示を一時的に無効化

Change Summary

Incremental Difference

--- a/KCD/HMKCShipObject.m
+++ b/KCD/HMKCShipObject.m
@@ -107,6 +107,7 @@ static NSArray *levelUpExps = nil;
107107
108108 - (NSColor *)statusColor
109109 {
110+#if 0
110111 NSInteger maxhp = [[self valueForKey:@"maxhp"] integerValue];
111112 CGFloat nowhp = [[self valueForKey:@"nowhp"] integerValue];
112113 CGFloat status = nowhp / maxhp;
@@ -120,6 +121,7 @@ static NSArray *levelUpExps = nil;
120121 return [NSColor yellowColor];
121122
122123 }
124+#endif
123125 return [NSColor controlTextColor];
124126 }
125127 - (NSColor *)conditionColor
Show on old repository browser