removed some compiler warnings
changed variables to float where appropriate
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include "GameOptions.h"
|
||||
#include "Translate.h"
|
||||
|
||||
MenuItem::MenuItem(int id, WFont *font, string text, int x, int y, JQuad * _off, JQuad * _on, const char * particle, JQuad * particleTex, bool hasFocus): JGuiObject(id), mFont(font), mX(x), mY(y)
|
||||
MenuItem::MenuItem(int id, WFont *font, string text, float x, float y, JQuad * _off, JQuad * _on, const char * particle, JQuad * particleTex, bool hasFocus): JGuiObject(id), mFont(font), mX(x), mY(y)
|
||||
{
|
||||
mText = _(text);
|
||||
updatedSinceLastRender = 1;
|
||||
|
||||
Reference in New Issue
Block a user