mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +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
|
#else
|
||||||
|
|
||||||
//RELEASE BUILD VERSION
|
//RELEASE BUILD VERSION
|
||||||
INT16 zVersionLabel[256] = { L"Release v1.13.406" };
|
INT16 zVersionLabel[256] = { L"Release v1.13.407" };
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
+1
-2
@@ -1256,7 +1256,7 @@ BOOLEAN WeaponInHand( SOLDIERTYPE * pSoldier )
|
|||||||
{
|
{
|
||||||
if (pSoldier->inv[HANDPOS].ubImprintID != NO_PROFILE)
|
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)
|
if (pSoldier->inv[HANDPOS].ubImprintID != pSoldier->ubProfile)
|
||||||
{
|
{
|
||||||
@@ -2223,7 +2223,6 @@ UINT8 CalculateObjectWeight( OBJECTTYPE *pObject )
|
|||||||
usWeight = 0;
|
usWeight = 0;
|
||||||
//Temporary calculation for minWeight. 0.2*ubWeight rounded correctly
|
//Temporary calculation for minWeight. 0.2*ubWeight rounded correctly
|
||||||
UINT32 uiMinWeight = (Item[pObject->usItem].ubWeight / 5.0) + 0.5;
|
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)
|
if( uiMinWeight < 1 || uiMinWeight > Item[pObject->usItem].ubWeight)
|
||||||
{
|
{
|
||||||
uiMinWeight = 1;
|
uiMinWeight = 1;
|
||||||
|
|||||||
@@ -1572,10 +1572,11 @@ void GetKeyboardInput( UINT32 *puiNewEvent )
|
|||||||
UIHandleLUIEndLock( NULL );
|
UIHandleLUIEndLock( NULL );
|
||||||
|
|
||||||
}
|
}
|
||||||
if ((InputEvent.usEvent == KEY_DOWN )&& ( InputEvent.usParam == ENTER ) && ( InputEvent.usKeyState & CTRL_DOWN ) )
|
}
|
||||||
{
|
//Madd: removed from cheat mode
|
||||||
EscapeUILock( );
|
if ((InputEvent.usEvent == KEY_DOWN )&& ( InputEvent.usParam == ENTER ) && ( InputEvent.usKeyState & CTRL_DOWN ) )
|
||||||
}
|
{
|
||||||
|
EscapeUILock( );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user