From 6410bc0f5d524ed783ba99dc361024ab35964bd7 Mon Sep 17 00:00:00 2001 From: silvernexus Date: Wed, 4 Dec 2013 03:23:48 +0000 Subject: [PATCH] Fixed segfault in unlinked kandora map by removing x and y attributes from map arch, which had caused undesired behavior. git-svn-id: svn+ssh://svn.code.sf.net/p/crossfire/code/arch/trunk@19160 282e977c-c81d-0410-88c4-b93c2d0d6712 --- CHANGES | 6 ++++++ system/map.arc | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index a8e79dd87..85c47de3d 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,12 @@ Changes for SVN top of tree: ============================================================================== +Commented out the x and y default attributes on map arch. +They were being added to the x and y values when the arch was placed +on a map and can cause segfaults by placing the map arch off the map. +system/map.arc +SilverNexus 2013-12-03 + Pixel cleanup on the map arch face. system/map.base.111.png SilverNexus 2013-12-03 diff --git a/system/map.arc b/system/map.arc index a62b5d0fd..c3bae08f2 100644 --- a/system/map.arc +++ b/system/map.arc @@ -4,8 +4,9 @@ subtype 1 slaying /HallOfSelection race /start/HallsOfSelection face map.111 -x 16 -y 16 +# Let's see... does this help? +# x 16 +# y 16 hp 1 sp 1 value 300