From 6e846ee89d13b71591947faf4ffdf68ca9a9411b Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Sat, 3 Apr 2021 02:18:31 +0100 Subject: [PATCH] Also disallow Barbarian in shareware Co-authored-by: Anders Jenbo --- SourceX/DiabloUI/selhero.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SourceX/DiabloUI/selhero.cpp b/SourceX/DiabloUI/selhero.cpp index ad7c97544..15af636ed 100644 --- a/SourceX/DiabloUI/selhero.cpp +++ b/SourceX/DiabloUI/selhero.cpp @@ -358,7 +358,7 @@ static bool shouldPrefillHeroName() void selhero_ClassSelector_Select(int value) { int hClass = vecSelHeroDlgItems[value]->m_value; - if (gbSpawned && (hClass == PC_ROGUE || hClass == PC_SORCERER || hClass == PC_BARD)) { + if (gbSpawned && hClass != PC_WARRIOR && hClass != PC_MONK) { ArtBackground.Unload(); UiSelOkDialog(NULL, "The Rogue and Sorcerer are only available in the full retail version of Diablo. Visit https://www.gog.com/game/diablo to purchase.", false); LoadBackgroundArt("ui_art\\selhero.pcx");