mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 23:07:43 +00:00
Sometimes I hate git
This commit is contained in:
18
Runtime/Weapon/CBurstFire.cpp
Normal file
18
Runtime/Weapon/CBurstFire.cpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#include "CBurstFire.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
CBurstFire::CBurstFire(SBurst** bursts, s32 firstIndex)
|
||||
: x10_(firstIndex)
|
||||
{
|
||||
SBurst** burst = bursts;
|
||||
while (1)
|
||||
{
|
||||
if (!*burst)
|
||||
break;
|
||||
|
||||
x18_bursts.push_back(*burst);
|
||||
++burst;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user