Applied norminette syntax for visual enjoyment
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/09/05 17:04:19 by aortigos #+# #+# */
|
||||
/* Updated: 2025/09/06 01:47:44 by aortigos ### ########.fr */
|
||||
/* Updated: 2025/09/14 13:49:02 by aortigos ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -14,12 +14,13 @@
|
||||
|
||||
Zombie* zombieHorde( int N, std::string name )
|
||||
{
|
||||
Zombie *z = new Zombie[N];
|
||||
Zombie *z;
|
||||
int i;
|
||||
|
||||
z = new Zombie[N];
|
||||
i = 0;
|
||||
while (i < N)
|
||||
z[i++].setName(name);
|
||||
|
||||
return (z);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user