Don't uppercase messages.

This commit is contained in:
Steve 2018-02-06 07:45:28 +00:00
parent d5d70a017f
commit fb5723d96e
1 changed files with 0 additions and 6 deletions

View File

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