13 lines
658 B
Plaintext
13 lines
658 B
Plaintext
$OpenBSD: patch-Main_Source_lsquare_cpp,v 1.1 2010/06/07 14:48:32 espie Exp $
|
|
--- Main/Source/lsquare.cpp.orig Mon Jun 7 16:44:05 2010
|
|
+++ Main/Source/lsquare.cpp Mon Jun 7 16:44:11 2010
|
|
@@ -1585,7 +1585,7 @@ truth lsquare::Duplicate(const beamdata& Beam)
|
|
character* Character = GetCharacter();
|
|
|
|
if(Character)
|
|
- DuplicatedSomething = truth(Character->DuplicateToNearestSquare(Beam.Owner, Beam.SpecialParameters));
|
|
+ DuplicatedSomething = truth(Character->DuplicateToNearestSquare(Beam.Owner, Beam.SpecialParameters) != NULL);
|
|
|
|
if(GetStack()->Duplicate(DuplicatedSomething ? 4 : 5, Beam.SpecialParameters))
|
|
DuplicatedSomething = true;
|