diff --git a/src/BossOhm.cpp b/src/BossOhm.cpp index 36c58789..4d6b0666 100644 --- a/src/BossOhm.cpp +++ b/src/BossOhm.cpp @@ -17,8 +17,13 @@ static void ActBoss01_12() { int i; - RECT rcLeft[1] = {80, 56, 104, 72}; - RECT rcRight[1] = {104, 56, 128, 72}; + RECT rcLeft[1] = { + {80, 56, 104, 72} + }; + + RECT rcRight[1] = { + {104, 56, 128, 72} + }; for (i = 1; i < 3; ++i) { diff --git a/src/NpcAct020.cpp b/src/NpcAct020.cpp index 41a950f1..b3fcb011 100644 --- a/src/NpcAct020.cpp +++ b/src/NpcAct020.cpp @@ -530,7 +530,9 @@ void ActNpc026(NPCHAR *npc) // Death trap void ActNpc027(NPCHAR *npc) { - RECT rcLeft[1] = {96, 64, 128, 88}; + RECT rcLeft[1] = { + {96, 64, 128, 88} + }; npc->rect = rcLeft[npc->ani_no]; } diff --git a/src/NpcAct120.cpp b/src/NpcAct120.cpp index 4492224e..ce98588b 100644 --- a/src/NpcAct120.cpp +++ b/src/NpcAct120.cpp @@ -783,8 +783,13 @@ void ActNpc130(NPCHAR *npc) // Puppy (sleeping) void ActNpc131(NPCHAR *npc) { - RECT rcLeft[1] = {144, 144, 160, 160}; - RECT rcRight[1] = {144, 160, 160, 176}; + RECT rcLeft[1] = { + {144, 144, 160, 160} + }; + + RECT rcRight[1] = { + {144, 160, 160, 176} + }; if (++npc->act_wait > 100) { diff --git a/src/NpcAct140.cpp b/src/NpcAct140.cpp index e9a8575c..aa59a863 100644 --- a/src/NpcAct140.cpp +++ b/src/NpcAct140.cpp @@ -543,8 +543,13 @@ void ActNpc142(NPCHAR *npc) // Jenka (collapsed) void ActNpc143(NPCHAR *npc) { - RECT rcLeft[1] = {208, 32, 224, 48}; - RECT rcRight[1] = {208, 48, 224, 64}; + RECT rcLeft[1] = { + {208, 32, 224, 48} + }; + + RECT rcRight[1] = { + {208, 48, 224, 64} + }; if (npc->direct == 0) npc->rect = rcLeft[npc->ani_no]; @@ -662,8 +667,13 @@ void ActNpc144(NPCHAR *npc) // King's sword void ActNpc145(NPCHAR *npc) { - RECT rcLeft[1] = {96, 32, 112, 48}; - RECT rcRight[1] = {112, 32, 128, 48}; + RECT rcLeft[1] = { + {96, 32, 112, 48} + }; + + RECT rcRight[1] = { + {112, 32, 128, 48} + }; switch (npc->act_no) { diff --git a/src/NpcAct200.cpp b/src/NpcAct200.cpp index 8a66f9cd..524bc6f6 100644 --- a/src/NpcAct200.cpp +++ b/src/NpcAct200.cpp @@ -142,8 +142,13 @@ void ActNpc200(NPCHAR *npc) // Dragon Zombie (dead) void ActNpc201(NPCHAR *npc) { - RECT rcLeft[1] = {200, 0, 240, 40}; - RECT rcRight[1] = {200, 40, 240, 80}; + RECT rcLeft[1] = { + {200, 0, 240, 40} + }; + + RECT rcRight[1] = { + {200, 40, 240, 80} + }; if (npc->direct == 0) npc->rect = rcLeft[npc->ani_no];