openbsd-ports/games/ivan/patches/patch-Main_Source_lterras_cpp

13 lines
437 B
Plaintext

$OpenBSD: patch-Main_Source_lterras_cpp,v 1.1 2010/06/07 14:48:32 espie Exp $
--- Main/Source/lterras.cpp.orig Mon Jun 7 16:44:05 2010
+++ Main/Source/lterras.cpp Mon Jun 7 16:44:18 2010
@@ -1193,7 +1193,7 @@ void door::BeDestroyed()
truth fountain::IsFountainWithWater() const
{
- return truth(GetSecondaryMaterial());
+ return truth(GetSecondaryMaterial() != NULL);
}
void liquidterrain::SurviveEffect(character* Survivor)