-
Notifications
You must be signed in to change notification settings - Fork 0
/
tolerate-missing-graphic
29 lines (21 loc) · 994 Bytes
/
tolerate-missing-graphic
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
diff --git a/gameSource/LivingLifePage.cpp b/gameSource/LivingLifePage.cpp
index 27c6b2633..7806437e4 100644
--- a/gameSource/LivingLifePage.cpp
+++ b/gameSource/LivingLifePage.cpp
@@ -3160,7 +3160,7 @@ LivingLifePage::LivingLifePage()
mHomeSlipSprites[0] = mHomeSlipSprite;
- mHomeSlipSprites[1] = mHomeSlip2Sprite;
+ mHomeSlipSprites[1] = mHomeSlip2Sprite ? mHomeSlip2Sprite : mHomeSlipSprite;
mForceGroundClick = false;
@@ -9265,6 +9265,7 @@ void LivingLifePage::draw( doublePair inViewCenter,
char pointerDrawn[2] = { false, false };
+ if( mHintArrowSprite )
for( int i=0; i<2; i++ ) {
if( ! takingPhoto && mCurrentHintTargetObject[i] > 0 ) {
@@ -9341,6 +9342,7 @@ void LivingLifePage::draw( doublePair inViewCenter,
}
}
+ if( mHintArrowSprite )
if( !takingPhoto ) {
for( int i=0; i<mOldHintArrows.size(); i++ ) {
OldHintArrow *h = mOldHintArrows.getElement( i );