From 10e9ad6032835e48ba044ccfdb8323369ab1551f Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 8 Nov 2009 00:38:40 -0500 Subject: [PATCH] Another regcode fix. --- Source/GameTick.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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; -- 2.39.2