- fixed return value of native call to dynamic array's Reserve()

https://forum.zdoom.org/viewtopic.php?t=62841
This commit is contained in:
alexey.lysiuk 2018-12-10 11:26:46 +02:00
parent 8a4b8cc2ca
commit 6362415054

View file

@ -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)