mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
- extended item info on tool tip
- new strings for item info in English/German/Russian - German translation updated - screen shots are not overwritten anymore - bug fix: climbing on roof with 'j' caused CTD - reinforcements in Omerta allowed on insane difficulty git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@125 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -2319,24 +2319,28 @@ void GetKeyboardInput( UINT32 *puiNewEvent )
|
||||
}
|
||||
else
|
||||
{
|
||||
BOOLEAN fNearHeigherLevel;
|
||||
BOOLEAN fNearLowerLevel;
|
||||
INT8 bDirection;
|
||||
GetMercClimbDirection( gpSMCurrentMerc->ubID, &fNearLowerLevel, &fNearHeigherLevel );
|
||||
if ( gpSMCurrentMerc != NULL )
|
||||
{
|
||||
BOOLEAN fNearHeigherLevel;
|
||||
BOOLEAN fNearLowerLevel;
|
||||
INT8 bDirection;
|
||||
|
||||
if ( fNearLowerLevel )
|
||||
{
|
||||
BeginSoldierClimbDownRoof( gpSMCurrentMerc );
|
||||
}
|
||||
if ( fNearHeigherLevel )
|
||||
{
|
||||
BeginSoldierClimbUpRoof( gpSMCurrentMerc );
|
||||
}
|
||||
GetMercClimbDirection( gpSMCurrentMerc->ubID, &fNearLowerLevel, &fNearHeigherLevel );
|
||||
|
||||
if ( FindFenceJumpDirection( gpSMCurrentMerc, gpSMCurrentMerc->sGridNo, gpSMCurrentMerc->bDirection, &bDirection ) )
|
||||
{
|
||||
BeginSoldierClimbFence( gpSMCurrentMerc );
|
||||
}
|
||||
if ( fNearLowerLevel )
|
||||
{
|
||||
BeginSoldierClimbDownRoof( gpSMCurrentMerc );
|
||||
}
|
||||
if ( fNearHeigherLevel )
|
||||
{
|
||||
BeginSoldierClimbUpRoof( gpSMCurrentMerc );
|
||||
}
|
||||
|
||||
if ( FindFenceJumpDirection( gpSMCurrentMerc, gpSMCurrentMerc->sGridNo, gpSMCurrentMerc->bDirection, &bDirection ) )
|
||||
{
|
||||
BeginSoldierClimbFence( gpSMCurrentMerc );
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user