From: Ryan C. Gordon Date: Sun, 8 Nov 2009 05:38:40 +0000 (-0500) Subject: Another regcode fix. X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=10e9ad6032835e48ba044ccfdb8323369ab1551f;p=lugaru.git Another regcode fix. --- diff --git a/Source/GameTick.cpp b/Source/GameTick.cpp index 790ddc3..c92bcf9 100644 --- a/Source/GameTick.cpp +++ b/Source/GameTick.cpp @@ -3174,7 +3174,13 @@ void Game::Tick() if(displaychars[0]){ char serialstring[256]; char tempstring[256]; + #if defined(__APPLE__) + sprintf (tempstring, "%s", registrationname); + #elif defined(_MSC_VER) || defined(__linux__) sprintf (tempstring, "%s-windows", registrationname); + #else + #error Please make sure you have the right registration key stuff here! + #endif long num1; long num2; long num3;