This commit is contained in:
parent
3a7c907b45
commit
6ba7114904
5 changed files with 4 additions and 4 deletions
Binary file not shown.
Binary file not shown.
|
@ -1379,7 +1379,7 @@ bool CNpcPlatform::alwaysThink()
|
||||||
int chapter=GameScene.getChapterNumber();
|
int chapter=GameScene.getChapterNumber();
|
||||||
int level=GameScene.getLevelNumber();
|
int level=GameScene.getLevelNumber();
|
||||||
|
|
||||||
if ( chapter == 1 )
|
if ( chapter == 5 )
|
||||||
{
|
{
|
||||||
if ( level == 5 )
|
if ( level == 5 )
|
||||||
{
|
{
|
||||||
|
|
|
@ -92,7 +92,7 @@ void CGaryStopTrigger::collidedWith(CThing *_thisThing)
|
||||||
|
|
||||||
if ( !m_dropped )
|
if ( !m_dropped )
|
||||||
{
|
{
|
||||||
if ( GameScene.getChapterNumber() != 1 )
|
if ( GameScene.getChapterNumber() != 5 )
|
||||||
{
|
{
|
||||||
DVECTOR newPos = Pos;
|
DVECTOR newPos = Pos;
|
||||||
newPos.vy -= 8;
|
newPos.vy -= 8;
|
||||||
|
|
|
@ -73,7 +73,7 @@ void CTeleportTrigger::collidedWith(CThing *_thisThing)
|
||||||
{
|
{
|
||||||
case TYPE_PLAYER:
|
case TYPE_PLAYER:
|
||||||
{
|
{
|
||||||
if ( chapter == 1 && level == 5 )
|
if ( chapter == 5 && level == 5 )
|
||||||
{
|
{
|
||||||
if ( !CNpcGaryFriend::hasReachedDoor() )
|
if ( !CNpcGaryFriend::hasReachedDoor() )
|
||||||
{
|
{
|
||||||
|
@ -93,7 +93,7 @@ void CTeleportTrigger::collidedWith(CThing *_thisThing)
|
||||||
{
|
{
|
||||||
if ( _thisThing->getThingSubType() == CNpcFriend::NPC_FRIEND_GARY )
|
if ( _thisThing->getThingSubType() == CNpcFriend::NPC_FRIEND_GARY )
|
||||||
{
|
{
|
||||||
if ( chapter == 1 && level == 5 )
|
if ( chapter == 5 && level == 5 )
|
||||||
{
|
{
|
||||||
// if Gary has touched a teleport on chapter 1, level 5, remember that he has done so
|
// if Gary has touched a teleport on chapter 1, level 5, remember that he has done so
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue