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

13 lines
497 B
Plaintext

$OpenBSD: patch-Main_Source_command_cpp,v 1.1 2010/06/07 14:48:32 espie Exp $
--- Main/Source/command.cpp.orig Mon Jun 7 16:42:47 2010
+++ Main/Source/command.cpp Mon Jun 7 16:42:53 2010
@@ -1043,7 +1043,7 @@ truth commandsystem::Go(character* Char)
Char->SetAction(Go);
Char->EditAP(Char->GetStateAPGain(100)); // gum solution
Char->GoOn(Go, true);
- return truth(Char->GetAction());
+ return truth(Char->GetAction() != NULL);
}
truth commandsystem::ShowConfigScreen(character*)