From f3df2a2e841749972402c6464e5f09b7b203c5d2 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Sat, 24 Oct 2009 09:22:51 -0700 Subject: ctest.cc: kill memory access violation The line removed caused a crash occasionally. Signed-off-by: Steven Noonan --- crawl-ref/source/ctest.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'crawl-ref/source/ctest.cc') diff --git a/crawl-ref/source/ctest.cc b/crawl-ref/source/ctest.cc index 53824859c9..a15b973f56 100644 --- a/crawl-ref/source/ctest.cc +++ b/crawl-ref/source/ctest.cc @@ -45,7 +45,6 @@ namespace crawl_tests nsuccess = 0; failures.clear(); you.your_name = test_player_name; - you.your_name[kNameLen - 1] = 0; you.species = test_player_species; you.char_class = test_player_job; } -- cgit v1.2.3-54-g00ecf