From 945961c1fb0560fe856cfe3f2ae695fa5ccbdc2e Mon Sep 17 00:00:00 2001 From: Misa Date: Sat, 2 Jan 2021 00:22:18 -0800 Subject: [PATCH] Remove unused function editorclass::placetile() This function was marked as unused by cppcheck. --- desktop_version/src/editor.cpp | 8 -------- desktop_version/src/editor.h | 2 -- 2 files changed, 10 deletions(-) diff --git a/desktop_version/src/editor.cpp b/desktop_version/src/editor.cpp index b22712c4..63457919 100644 --- a/desktop_version/src/editor.cpp +++ b/desktop_version/src/editor.cpp @@ -932,14 +932,6 @@ int editorclass::getenemyframe(int t) } -void editorclass::placetile( int x, int y, int t ) -{ - if(x>=0 && y>=0 && x=0 && y>=0 && x<40 && y<30) diff --git a/desktop_version/src/editor.h b/desktop_version/src/editor.h index 4d028878..e17188f6 100644 --- a/desktop_version/src/editor.h +++ b/desktop_version/src/editor.h @@ -121,8 +121,6 @@ class editorclass{ void getlin(const enum textmode mode, const std::string& prompt, std::string* ptr); const short* loadlevel(int rxi, int ryi); - void placetile(int x, int y, int t); - void placetilelocal(int x, int y, int t); int getenemyframe(int t);