mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
Fix from Heinz:
1) Fixed error creating new soldiers in DoReinforcementAsPendingEnemy 2) Fixed some bugs in Shopkeeper interface. 3) Fixed CTD when pressing Alt-Y not in cheat mode 4) Save/load screen shouldn't appear during quickload git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2612 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1542,7 +1542,8 @@ void GetKeyboardInput( UINT32 *puiNewEvent )
|
||||
gfCameDirectlyFromGame = TRUE;
|
||||
|
||||
guiPreviousOptionScreen = GAME_SCREEN;
|
||||
LeaveTacticalScreen( SAVE_LOAD_SCREEN );
|
||||
//Heinz: 28.02.09 BUGFIX: player doesn't need to see save/load screen
|
||||
//LeaveTacticalScreen( SAVE_LOAD_SCREEN );
|
||||
DoQuickLoad();
|
||||
}
|
||||
}
|
||||
@@ -3834,15 +3835,15 @@ void GetKeyboardInput( UINT32 *puiNewEvent )
|
||||
|
||||
// Recruit!
|
||||
RecruitEPC( MARIA );
|
||||
|
||||
//Heinz: 28.02.09 BUGFIX: giving G41 to Maria only in cheat mode
|
||||
// Create object and set
|
||||
CreateItem( (UINT16) G41, 100, &Object );
|
||||
|
||||
pSoldier = FindSoldierByProfileID( MARIA, FALSE );
|
||||
|
||||
AutoPlaceObject( pSoldier, &Object, FALSE );
|
||||
}
|
||||
|
||||
// Create object and set
|
||||
CreateItem( (UINT16) G41, 100, &Object );
|
||||
|
||||
pSoldier = FindSoldierByProfileID( MARIA, FALSE );
|
||||
|
||||
AutoPlaceObject( pSoldier, &Object, FALSE );
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user