Remove unused function editorclass::placetile()

This function was marked as unused by cppcheck.
This commit is contained in:
Misa 2021-01-02 00:22:18 -08:00 committed by Ethan Lee
parent 916a19c09c
commit 945961c1fb
2 changed files with 0 additions and 10 deletions

View File

@ -932,14 +932,6 @@ int editorclass::getenemyframe(int t)
}
void editorclass::placetile( int x, int y, int t )
{
if(x>=0 && y>=0 && x<mapwidth*40 && y<mapheight*30)
{
contents[x+(levx*40)+vmult[y+(levy*30)]]=t;
}
}
void editorclass::placetilelocal( int x, int y, int t )
{
if(x>=0 && y>=0 && x<40 && y<30)

View File

@ -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);