From 70e4214a2a5de660f265b8d227826296487e6d0d Mon Sep 17 00:00:00 2001 From: LogicParrot Date: Thu, 4 Aug 2016 18:29:14 +0300 Subject: Added compile.sh folder check warnings --- easyinstall.sh | 3 +++ src/BlockArea.cpp | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/easyinstall.sh b/easyinstall.sh index 13527569c..150282f6c 100755 --- a/easyinstall.sh +++ b/easyinstall.sh @@ -1,6 +1,9 @@ #!/bin/sh { +# NOTE: compile.sh looks for this file in order to determine if this is the Cuberite folder. +# Please modify compile.sh if you want to rename or remove this file. +# This file was chosen arbitrarily and it is a good enough indicator that we are in the Cuberite folder. set -e diff --git a/src/BlockArea.cpp b/src/BlockArea.cpp index 2ac41a721..438d958b9 100644 --- a/src/BlockArea.cpp +++ b/src/BlockArea.cpp @@ -1,6 +1,10 @@ // BlockArea.cpp +// NOTE: compile.sh checks for this file in order to determine if this is the Cuberite folder. +// Please modify compile.sh if you want to rename or remove this file. +// This file was chosen arbitrarily and it's a good enough indicator we're in the Cuberite folder. + // Implements the cBlockArea object representing an area of block data that can be queried from cWorld and then accessed again without further queries // The object also supports writing the blockdata back into cWorld, even into other coords -- cgit v1.2.3