Don't uppercase messages.
This commit is contained in:
parent
d5d70a017f
commit
fb5723d96e
|
@ -112,7 +112,6 @@ static void drawPower(void)
|
||||||
|
|
||||||
void setGameplayMessage(int newMessageType, const char *format, ...)
|
void setGameplayMessage(int newMessageType, const char *format, ...)
|
||||||
{
|
{
|
||||||
int i;
|
|
||||||
char newMessage[MAX_DESCRIPTION_LENGTH];
|
char newMessage[MAX_DESCRIPTION_LENGTH];
|
||||||
va_list args;
|
va_list args;
|
||||||
|
|
||||||
|
@ -128,11 +127,6 @@ void setGameplayMessage(int newMessageType, const char *format, ...)
|
||||||
messageType = newMessageType;
|
messageType = newMessageType;
|
||||||
messageTime = FPS * 3;
|
messageTime = FPS * 3;
|
||||||
|
|
||||||
for (i = 0 ; i < strlen(message) ; i++)
|
|
||||||
{
|
|
||||||
message[i] = toupper(message[i]);
|
|
||||||
}
|
|
||||||
|
|
||||||
SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO, "%s", message);
|
SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO, "%s", message);
|
||||||
|
|
||||||
switch (messageType)
|
switch (messageType)
|
||||||
|
|
Loading…
Reference in New Issue