Преглед изворни кода

Actually needed named values to avoid warnings.

derp
NathanSweet пре 10 година
родитељ
комит
67a639d12a
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      spine-c/include/spine/Animation.h
  2. 1 1
      spine-c/include/spine/Attachment.h

+ 1 - 1
spine-c/include/spine/Animation.h

@@ -104,7 +104,7 @@ struct spTimeline {
 
 #ifdef __cplusplus
 	spTimeline() :
-		type(0),
+		type(SP_TIMELINE_SCALE),
 		vtable(0) {
 	}
 #endif

+ 1 - 1
spine-c/include/spine/Attachment.h

@@ -47,7 +47,7 @@ typedef struct spAttachment {
 #ifdef __cplusplus
 	spAttachment() :
 		name(0),
-		type(0),
+		type(SP_ATTACHMENT_REGION),
 		vtable(0) {
 	}
 #endif