mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
-madlab no longer allowed to set fingerprintid on rocket rifles
-ctrl+enter deadlock abort keys no longer require cheat mode to be active git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@407 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ INT16 zVersionLabel[256] = { L"Beta v. 0.98" };
|
||||
#else
|
||||
|
||||
//RELEASE BUILD VERSION
|
||||
INT16 zVersionLabel[256] = { L"Release v1.13.406" };
|
||||
INT16 zVersionLabel[256] = { L"Release v1.13.407" };
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
+1
-2
@@ -1256,7 +1256,7 @@ BOOLEAN WeaponInHand( SOLDIERTYPE * pSoldier )
|
||||
{
|
||||
if (pSoldier->inv[HANDPOS].ubImprintID != NO_PROFILE)
|
||||
{
|
||||
if (pSoldier->ubProfile != NO_PROFILE)
|
||||
if (pSoldier->ubProfile != NO_PROFILE && pSoldier->ubProfile != MADLAB )
|
||||
{
|
||||
if (pSoldier->inv[HANDPOS].ubImprintID != pSoldier->ubProfile)
|
||||
{
|
||||
@@ -2223,7 +2223,6 @@ UINT8 CalculateObjectWeight( OBJECTTYPE *pObject )
|
||||
usWeight = 0;
|
||||
//Temporary calculation for minWeight. 0.2*ubWeight rounded correctly
|
||||
UINT32 uiMinWeight = (Item[pObject->usItem].ubWeight / 5.0) + 0.5;
|
||||
//UINT32 uiMinWeight = Magazine[ Item[ pObject->usItem].ubClassIndex].ubMinWeight; //Minimum weight of magazine, now disabled because not corresponding entry in magazines.xml and weapons.h
|
||||
if( uiMinWeight < 1 || uiMinWeight > Item[pObject->usItem].ubWeight)
|
||||
{
|
||||
uiMinWeight = 1;
|
||||
|
||||
@@ -1572,10 +1572,11 @@ void GetKeyboardInput( UINT32 *puiNewEvent )
|
||||
UIHandleLUIEndLock( NULL );
|
||||
|
||||
}
|
||||
if ((InputEvent.usEvent == KEY_DOWN )&& ( InputEvent.usParam == ENTER ) && ( InputEvent.usKeyState & CTRL_DOWN ) )
|
||||
{
|
||||
EscapeUILock( );
|
||||
}
|
||||
}
|
||||
//Madd: removed from cheat mode
|
||||
if ((InputEvent.usEvent == KEY_DOWN )&& ( InputEvent.usParam == ENTER ) && ( InputEvent.usKeyState & CTRL_DOWN ) )
|
||||
{
|
||||
EscapeUILock( );
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user