From bf358f4520ea47059e02237892955edaa24c8be9 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Fri, 6 Apr 2012 16:28:21 +0200 Subject: Lua: Remove unused switch_class and switch_subclass --- src/xtra2.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/xtra2.c') diff --git a/src/xtra2.c b/src/xtra2.c index 45a0caec..34a2a283 100644 --- a/src/xtra2.c +++ b/src/xtra2.c @@ -6065,24 +6065,6 @@ void corrupt_corrupted(void) return; } -/* - * Change to an other class - */ -void switch_class(int sclass) -{ - p_ptr->pclass = sclass; - cp_ptr = &class_info[p_ptr->pclass]; -} - -/* - * Change to an other subclass - */ -void switch_subclass(int sclass) -{ - p_ptr->pspec = sclass; - spp_ptr = &class_info[p_ptr->pclass].spec[p_ptr->pspec]; -} - /* * Change to an other subrace */ -- cgit v1.2.3