mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Remove unused x and y attributes of blockclass
These float attributes are assigned to, and then never read again. The coordinate systems of blocks are a bit of a mess - some use xp/yp, some use xp/yp and rect.x/rect.y - but I can confidently say that these are never used, because it compiles fine if I remove the attributes from the class, plus remove all assignments to it.
This commit is contained in:
@@ -21,11 +21,6 @@ public:
|
||||
int xp, yp, wp, hp;
|
||||
std::string script, prompt;
|
||||
int r, g, b;
|
||||
|
||||
//These would come from the sprite in the flash
|
||||
float x;
|
||||
float y;
|
||||
|
||||
};
|
||||
|
||||
#endif /* BLOCKV_H */
|
||||
|
||||
Reference in New Issue
Block a user