Added code for the Allow All Vehicle Weapons refactor. (#156)

* Added more classes for drive-by weapons.

* Added CGetPedSeatReturnClass.

* Fixed atArray contains method throwing compile time exceptions.
This commit is contained in:
gir489
2023-12-19 02:43:45 -05:00
committed by GitHub
parent f33d9d2b18
commit 5881f50a80
8 changed files with 38 additions and 3 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ namespace rage
bool contains(T comparator)
{
for (auto iter_value : this)
for (auto iter_value : *this)
{
if (iter_value == comparator)
{