mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
************************************************************
* Merged Source Code from Development Trunk: Revision 4063 * ************************************************************ - Source Code is merged from: https://81.169.133.124/source/ja2/branches/Wanne/JA2%201.13%20MP - This will be the Source for the Beta 2011 Test git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4064 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -21,6 +21,8 @@
|
||||
#include "Strategic AI.h"
|
||||
#endif
|
||||
|
||||
#include "Luaglobal.h"
|
||||
#include "LuaInitNPCs.h"
|
||||
#include "SaveLoadGame.h"
|
||||
#include "GameSettings.h"
|
||||
#include "connect.h"
|
||||
@@ -130,6 +132,10 @@ void HandleQuarterHourUpdate()
|
||||
void HourlyQuestUpdate( void )
|
||||
{
|
||||
UINT32 uiHour = GetWorldHour();
|
||||
|
||||
#ifdef LUA_HOURLY_QUEST_UPDATE
|
||||
LetLuaHourlyQuestUpdate(0);
|
||||
#else
|
||||
|
||||
// brothel
|
||||
if ( uiHour == 4 )
|
||||
@@ -184,6 +190,7 @@ void HourlyQuestUpdate( void )
|
||||
SetFactFalse( FACT_MUSEUM_OPEN );
|
||||
}
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
#define BAR_TEMPTATION 4
|
||||
@@ -246,7 +253,7 @@ void HourlyLarryUpdate( void )
|
||||
if ( usTemptation < BAR_TEMPTATION && GetCurrentBalance() >= Item[ ALCOHOL ].usPrice )
|
||||
{
|
||||
if ( pSoldier->bSectorZ == 0 &&
|
||||
( ( pSoldier->sSectorX == 13 && pSoldier->sSectorY == MAP_ROW_B) ||
|
||||
( ( pSoldier->sSectorX == 13 && pSoldier->sSectorY == MAP_ROW_D) ||
|
||||
( pSoldier->sSectorX == 13 && pSoldier->sSectorY == MAP_ROW_C) ||
|
||||
( pSoldier->sSectorX == 5 && pSoldier->sSectorY == MAP_ROW_C) ||
|
||||
( pSoldier->sSectorX == 6 && pSoldier->sSectorY == MAP_ROW_C) ||
|
||||
|
||||
Reference in New Issue
Block a user