Fix compile.

This commit is contained in:
Relintai 2021-11-22 22:10:41 +01:00
parent f15569fdb8
commit 896313944e
2 changed files with 6 additions and 6 deletions

View File

@ -69,7 +69,7 @@ SOFTWARE.
#include "world/jobs/terra_prop_job.h"
#include "world/jobs/terra_terrarin_job.h"
void register_terraman_types() {
void register_terraman_2d_types() {
ClassDB::register_class<TerraMesher>();
ClassDB::register_class<TerraMesherDefault>();
@ -121,5 +121,5 @@ void register_terraman_types() {
#endif
}
void unregister_terraman_types() {
void unregister_terraman_2d_types() {
}

View File

@ -20,10 +20,10 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
#ifndef TERRAMAN_REGISTER_TYPES_H
#define TERRAMAN_REGISTER_TYPES_H
#ifndef TERRAMAN_2D_REGISTER_TYPES_H
#define TERRAMAN_2D_REGISTER_TYPES_H
void register_terraman_types();
void unregister_terraman_types();
void register_terraman_2d_types();
void unregister_terraman_2d_types();
#endif