mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 18:42:26 +00:00
Xmalloc() -> Xrealloc() in C_AllocProjectile()
git-svn-id: https://svn.eduke32.com/eduke32@6972 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
e8b042899b
commit
3ba8cb7d05
1 changed files with 1 additions and 1 deletions
|
@ -2678,7 +2678,7 @@ EDUKE32_STATIC_ASSERT(sizeof(projectile_t) == sizeof(DefaultProjectile));
|
|||
|
||||
void C_AllocProjectile(int32_t j)
|
||||
{
|
||||
g_tile[j].proj = (projectile_t *)Xmalloc(2 * sizeof(projectile_t));
|
||||
g_tile[j].proj = (projectile_t *)Xrealloc(g_tile[j].proj, 2 * sizeof(projectile_t));
|
||||
g_tile[j].defproj = g_tile[j].proj + 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue