J :
* Fix a bug with a non-writable string.
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
|
|
||||||
#include "../include/GameApp.h"
|
#include "../include/GameApp.h"
|
||||||
|
|
||||||
|
static char GameName[] = "Wagic";
|
||||||
|
|
||||||
//-------------------------------------------------------------------------------------
|
//-------------------------------------------------------------------------------------
|
||||||
JApp* JGameLauncher::GetGameApp()
|
JApp* JGameLauncher::GetGameApp()
|
||||||
@@ -24,7 +25,7 @@ JApp* JGameLauncher::GetGameApp()
|
|||||||
//-------------------------------------------------------------------------------------
|
//-------------------------------------------------------------------------------------
|
||||||
char *JGameLauncher::GetName()
|
char *JGameLauncher::GetName()
|
||||||
{
|
{
|
||||||
return "Wagic";
|
return GameName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user