My favorites
▼
|
Sign in
ivmultiplayer
An alternative Multiplayer Modification for Grand Theft Auto 4
Project Home
Source
Export to GitHub
READ-ONLY: This project has been
archived
. For more information see
this post
.
Search
Search within:
All issues
Open issues
New issues
Issues to verify
for
Advanced search
Search tips
Subscriptions
Issue
4
attachment: CNetworkPlayer.cpp.patch
(656 bytes)
1
2
3
4
5
6
7
8
9
10
11
12
--- trunk/Client/Core/CNetworkPlayer.cpp
+++ trunk/Client/Core/CNetworkPlayer.cpp
@@ -683,7 +683,8 @@
SetInterior(uiInterior);
for(unsigned int ui = 1; ui < 12; ++ui)
GiveWeapon(uiWeap[ui], uiAmmo[ui]);
- SetAmmo(uiCurrWeap, GetAmmo(uiCurrWeap)-uiAmmoInClip+GetMaxAmmoInClip(uiCurrWeap));
+ //SetAmmo(uiCurrWeap, GetAmmo(uiCurrWeap)-uiAmmoInClip+GetMaxAmmoInClip(uiCurrWeap)); I am not sure, but maybe this is the cause for the bug that gives you 30 extra ammo? I don't see the point of this.
+ SetAmmo(uiCurrWeap, GetAmmo(uiCurrWeap)-uiAmmoInClip);
SetCurrentWeapon(uiCurrWeap);
SetAmmoInClip(uiAmmoInClip);
}
Powered by
Google Project Hosting