From 4e89b8c33373809a4d2ac3ac352594bb015c5d7d Mon Sep 17 00:00:00 2001 From: Wanne Date: Fri, 23 Jun 2006 13:10:04 +0000 Subject: [PATCH] Commented out the Assertion in "Tactical\ArmsDealerInvInit.cpp -> GetDealerItemCategoryNumber()", so the game can be run in Debug mode. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@290 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Tactical/ArmsDealerInvInit.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tactical/ArmsDealerInvInit.cpp b/Tactical/ArmsDealerInvInit.cpp index ce2ce6a28..a522a4f0c 100644 --- a/Tactical/ArmsDealerInvInit.cpp +++ b/Tactical/ArmsDealerInvInit.cpp @@ -1457,8 +1457,9 @@ UINT8 GetDealerItemCategoryNumber( UINT16 usItemIndex ) ubCategory++; } + // WANNE: commented the assert out, because we always get the assertion in debug mode! // should never be trying to locate an item that's not covered in the table! - Assert( FALSE ); + //Assert( FALSE ); return( 0 ); }