22 lines
1.0 KiB
Plaintext
22 lines
1.0 KiB
Plaintext
$OpenBSD: patch-Main_Include_lsquare_h,v 1.1 2010/06/07 14:48:32 espie Exp $
|
|
--- Main/Include/lsquare.h.orig Mon Jun 7 16:40:42 2010
|
|
+++ Main/Include/lsquare.h Mon Jun 7 16:40:53 2010
|
|
@@ -202,7 +202,7 @@ class lsquare : public square
|
|
void PostProcessForBone(double&, int&);
|
|
void DisplayEngravedInfo(festring&) const;
|
|
truth EngravingsCanBeReadByPlayer();
|
|
- truth HasEngravings() const { return truth(Engraved); }
|
|
+ truth HasEngravings() const { return truth(Engraved != NULL); }
|
|
void FinalProcessForBone();
|
|
truth IsFreezed() const { return Flags & FREEZED; }
|
|
truth IsDangerousToBreathe(const character*) const;
|
|
@@ -237,7 +237,7 @@ class lsquare : public square
|
|
void SendSunLightSignals();
|
|
const sunemittervector& GetSunEmitter() const { return SunEmitter; }
|
|
void ZeroReSunEmitatedFlags();
|
|
- virtual truth HasBeenSeen() const { return truth(Memorized); }
|
|
+ virtual truth HasBeenSeen() const { return truth(Memorized != NULL); }
|
|
truth CalculateIsTransparent();
|
|
void CalculateSunLightLuminance(ulong);
|
|
void CreateMemorized();
|