Skip to content

Commit a773af1

Browse files
committed
Merge pull request #886 from chadwyk/v3.1
Fixed bug #802. Changed opacity value from unsigned char to float.
2 parents 2ddcc43 + dcd52e2 commit a773af1

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)