Skip to content

Commit dcd52e2

Browse files
committed
Fixed bug #802. Changed opacity value from unsigned char to float.
1 parent 2ddcc43 commit dcd52e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cocos2d/CCTMXXMLParser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ typedef enum ccTMXTileFlags_ {
7777
@property (nonatomic,readwrite) BOOL visible;
7878

7979
/** Layer Opacity. */
80-
@property (nonatomic,readwrite) unsigned char opacity;
80+
@property (nonatomic,readwrite) float opacity;
8181

8282
/** True to release ownership of layer tiles. */
8383
@property (nonatomic,readwrite) BOOL ownTiles;

0 commit comments

Comments
 (0)