From a4c3bb6153b6fd1a8d54abde6f7d9ecd593a4e4d Mon Sep 17 00:00:00 2001 From: ultramage Date: Wed, 17 Oct 2007 17:20:01 +0000 Subject: Using predefined constants as parameters to the exit() function. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11501 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/path.c') diff --git a/src/map/path.c b/src/map/path.c index 9f173fc54..48b62755a 100644 --- a/src/map/path.c +++ b/src/map/path.c @@ -59,7 +59,7 @@ static void update_heap_path(int *heap,struct tmp_path *tp,int index) if( h == heap[0] ) { ShowError("update_heap_path bug\n"); - exit(1); + exit(EXIT_FAILURE); } for( i = (h-1)/2; h > 0 && tp[index].cost < tp[heap[i+1]].cost; i = (h-1)/2 ) -- cgit v1.2.3-70-g09d2