mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-11 05:04:40 -04:00
Fix multiple classes being inappropriately zero-initialized via JKR_NEW* (#70)
This might also fix #71 and #72.
This commit is contained in:
+1
-1
@@ -408,7 +408,7 @@ static int dScnName_Delete(dScnName_c* i_this) {
|
||||
}
|
||||
|
||||
static int dScnName_Create(scene_class* i_this) {
|
||||
JKR_NEW_ARGS (i_this) dScnName_c();
|
||||
JKR_NEW_ARGS (i_this) dScnName_c;
|
||||
return static_cast<dScnName_c*>(i_this)->create();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user