13 lines
604 B
Plaintext
13 lines
604 B
Plaintext
$OpenBSD: patch-Main_Include_char_h,v 1.1 2010/06/07 14:48:32 espie Exp $
|
|
--- Main/Include/char.h.orig Mon Jun 7 16:40:31 2010
|
|
+++ Main/Include/char.h Mon Jun 7 16:40:37 2010
|
|
@@ -991,7 +991,7 @@ class character : public entity, public id
|
|
truth IsUsingWeaponOfCategory(int) const;
|
|
virtual truth IsKamikazeDwarf() const { return false; }
|
|
void AddRandomScienceName(festring&) const;
|
|
- truth IsStuck() const { return truth(TrapData); }
|
|
+ truth IsStuck() const { return truth(TrapData != NULL); }
|
|
festring GetTrapDescription() const;
|
|
truth TryToUnStickTraps(v2);
|
|
void RemoveTrap(ulong);
|