mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
- fixed return value of native call to dynamic array's Reserve()
https://forum.zdoom.org/viewtopic.php?t=62841
This commit is contained in:
parent
8a4b8cc2ca
commit
6362415054
1 changed files with 2 additions and 2 deletions
|
@ -121,9 +121,9 @@ template<class T, int fill = 1> void ArrayResize(T *self, int amount)
|
|||
}
|
||||
}
|
||||
|
||||
template<class T> void ArrayReserve(T *self, int amount)
|
||||
template<class T> unsigned int ArrayReserve(T *self, int amount)
|
||||
{
|
||||
self->Reserve(amount);
|
||||
return self->Reserve(amount);
|
||||
}
|
||||
|
||||
template<class T> int ArrayMax(T *self)
|
||||
|
|
Loading…
Reference in a new issue