Core: Fix array counting
This commit is contained in:
@@ -47,7 +47,7 @@ Add(&guys, {100, 100})
|
||||
|
||||
|
||||
// @reproduction
|
||||
// MAP: [16*16]int = {0, 1}
|
||||
//
|
||||
//
|
||||
// This generates: int MAP[256] = (int [256]){[0] = 0, [0] = 1}; it doesn't work because of the (int[256]) is this MSVC being retarded here? not supporting C properly?
|
||||
// Also this ^ ^
|
||||
@@ -87,6 +87,7 @@ MouseSelectedActors: Array(*MAP.Actor) // @todo: ids
|
||||
main :: (): int
|
||||
MAP.Init()
|
||||
|
||||
// HERE_IT_IS: [16*16]int = {0, 1}
|
||||
|
||||
// InitAudioDevice()
|
||||
// sound := LoadSound("catune - Pass the town, and to the C.mp3")
|
||||
|
||||
Reference in New Issue
Block a user